File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,8 @@ sphinx:
2020 # false-positive links
2121 linkcheck_ignore : ['https://github.com/matplotlib/matplotlib/blob/v3.6.2/lib/matplotlib/axes/_axes.py#L1417-L1669',
2222 ' https://ieeexplore.ieee.org/document/8757088' ,
23- ' https://www.sciencedirect.com/science/article/pii/S1477388021000177' ]
23+ ' https://www.sciencedirect.com/science/article/pii/S1477388021000177' ,
24+ ' https://keras.io/' ]
2425 html_favicon : _static/lectures-favicon.ico
2526 html_theme : quantecon_book_theme
2627 html_static_path : ['_static']
Original file line number Diff line number Diff line change @@ -319,7 +319,8 @@ def draw_graphs(style='default'):
319319 # and a line graph with random Y values
320320 axes[3].plot(x, rnormY, linewidth=2, alpha=0.7)
321321
322- plt.suptitle(f'Style: {style}', fontsize=13)
322+ style_name = style.split('-')[0]
323+ plt.suptitle(f'Style: {style_name}', fontsize=13)
323324 plt.show()
324325
325326```
@@ -329,7 +330,7 @@ Let's see what some of the styles look like.
329330First, we draw graphs with the style sheet ` seaborn `
330331
331332``` {code-cell} python3
332- draw_graphs(style='seaborn')
333+ draw_graphs(style='seaborn-v0_8 ')
333334```
334335
335336We can use ` grayscale ` to remove colors in plots
You can’t perform that action at this time.
0 commit comments