diff --git a/docs/section/plotting.md b/docs/section/plotting.md index 3a2eb0a..87403aa 100644 --- a/docs/section/plotting.md +++ b/docs/section/plotting.md @@ -5,6 +5,9 @@ This is a very simple example using some data provided in the `tablespoon` packa ```python import tablespoon as tbsp from tablespoon.data import SEAS +from plotnine import * +import pandas as pd +from mizani.breaks import date_breaks sn = tbsp.Snaive() df_sn = sn.predict( @@ -29,4 +32,4 @@ p = ( + scale_color_manual(palette) ) p.save(filename="forecasts_n.jpg", width=14, height=3) -``` \ No newline at end of file +```