Skip to content

Commit

Permalink
Merge pull request #60 from alexhallam/alexhallam-patch-2
Browse files Browse the repository at this point in the history
Update plotting.md
  • Loading branch information
alexhallam committed Jul 6, 2023
2 parents 261e26a + bb2ee56 commit 110fa9e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/section/plotting.md
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand All @@ -29,4 +32,4 @@ p = (
+ scale_color_manual(palette)
)
p.save(filename="forecasts_n.jpg", width=14, height=3)
```
```

0 comments on commit 110fa9e

Please sign in to comment.