From bb2ee56d7b41ae47320d512ccc43fbe7757398f2 Mon Sep 17 00:00:00 2001 From: Alex Hallam Date: Wed, 5 Jul 2023 20:07:25 -0400 Subject: [PATCH] Update plotting.md --- docs/section/plotting.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 +```