@df not defined

I ran into the same problem when (because I mistyped) I installed and used the deprecated StatPlots (instead of StatsPlots) then removed it and installed StatsPlots. Consequently, @df was exported by both StatPlots and StatsPlots. The fully-qualified macro name, @StatsPlots.df, worked at that stage, but restarting allowed @df to work properly.

Perhaps something similar happened for you?

3 Likes