|
49 | 49 | # <https://matplotlib.org/faq/usage_faq#what-is-a-backend>`__ are light gray |
50 | 50 | # (the :rcraw:`savefig.facecolor` applied to saved figures is still white). |
51 | 51 | # Proplot also controls the appearance of figures in Jupyter notebooks |
52 | | -# using the new :rcraw:`inlinefmt` setting, which is passed to |
| 52 | +# using the new :rcraw:`inlineformat` setting, which is passed to |
53 | 53 | # `~proplot.config.config_inline_backend` on import. This |
54 | 54 | # imposes a higher-quality default `"inline" format |
55 | 55 | # <https://ipython.readthedocs.io/en/stable/interactive/plotting.html>`__ |
|
155 | 155 | suptitle='Simple subplot grid', title='Title', |
156 | 156 | xlabel='x axis', ylabel='y axis' |
157 | 157 | ) |
158 | | -# fig.save('example1.png') # save the figure |
159 | | -# fig.savefig('example1.png') # alternative |
| 158 | +# fig.save('~/example1.png') # save the figure |
| 159 | +# fig.savefig('~/example1.png') # alternative |
160 | 160 |
|
161 | 161 |
|
162 | 162 | # %% |
|
176 | 176 | xlabel='xlabel', ylabel='ylabel' |
177 | 177 | ) |
178 | 178 | axs[2].plot(data, lw=2) |
179 | | -# fig.save('example2.png') # save the figure |
180 | | -# fig.savefig('example2.png') # alternative |
| 179 | +# fig.save('~/example2.png') # save the figure |
| 180 | +# fig.savefig('~/example2.png') # alternative |
181 | 181 |
|
182 | 182 |
|
183 | 183 | # %% |
|
198 | 198 | xlabel='xlabel', ylabel='ylabel', abc=True |
199 | 199 | ) |
200 | 200 | axs[0].plot(data, lw=2) |
201 | | -# fig.save('example3.png') # save the figure |
202 | | -# fig.savefig('example3.png') # alternative |
| 201 | +# fig.save('~/example3.png') # save the figure |
| 202 | +# fig.savefig('~/example3.png') # alternative |
203 | 203 |
|
204 | 204 | # %% |
205 | 205 | # Using a GridSpec |
|
217 | 217 | suptitle='Subplot grid with a GridSpec', |
218 | 218 | xlabel='xlabel', ylabel='ylabel', abc=True |
219 | 219 | ) |
220 | | -# fig.save('example4.png') # save the figure |
221 | | -# fig.savefig('example4.png') # alternative |
| 220 | +# fig.save('~/example4.png') # save the figure |
| 221 | +# fig.savefig('~/example4.png') # alternative |
222 | 222 |
|
223 | 223 | # %% [raw] raw_mimetype="text/restructuredtext" |
224 | 224 | # .. _ug_subplotgrid: |
|
0 commit comments