add PlotThemes to REQUIRE; add warning for DataFrames
This commit is contained in:
parent
9de3ed8cf0
commit
f002f66890
1
REQUIRE
1
REQUIRE
@ -2,6 +2,7 @@ julia 0.5
|
|||||||
|
|
||||||
RecipesBase
|
RecipesBase
|
||||||
PlotUtils
|
PlotUtils
|
||||||
|
PlotThemes
|
||||||
Reexport
|
Reexport
|
||||||
FixedSizeArrays
|
FixedSizeArrays
|
||||||
Measures
|
Measures
|
||||||
|
|||||||
@ -161,6 +161,11 @@ end
|
|||||||
function _plot!(plt::Plot, d::KW, args::Tuple)
|
function _plot!(plt::Plot, d::KW, args::Tuple)
|
||||||
d[:plot_object] = plt
|
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"
|
# "USER RECIPES"
|
||||||
# --------------------------------
|
# --------------------------------
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user