add PlotThemes to REQUIRE; add warning for DataFrames

This commit is contained in:
Thomas Breloff 2016-10-12 09:30:49 -04:00
parent 9de3ed8cf0
commit f002f66890
2 changed files with 6 additions and 0 deletions

View File

@ -2,6 +2,7 @@ julia 0.5
RecipesBase
PlotUtils
PlotThemes
Reexport
FixedSizeArrays
Measures

View File

@ -161,6 +161,11 @@ end
function _plot!(plt::Plot, d::KW, args::Tuple)
d[:plot_object] = plt
if !isempty(args) && !isdefined(Main, :StatPlots) &&
first(split(string(typeof(args[1])), ".")) == "DataFrames"
warn("You're trying to plot a DataFrame, but this functionality is provided by StatPlots")
end
# --------------------------------
# "USER RECIPES"
# --------------------------------