@@ -230,14 +230,13 @@ def example_plot(ax, fontsize=12, hide_labels=False):
230
230
leg .set_in_layout (True )
231
231
# we don't want the layout to change at this point.
232
232
fig .set_constrained_layout (False )
233
- print (os .getcwd ())
234
- fig .savefig ('../../doc/_images/CL01tight.png' ,
233
+ fig .savefig ('../../doc/_static/constrained_layout_1b.png' ,
235
234
bbox_inches = 'tight' , dpi = 100 )
236
235
237
236
#############################################
238
237
# The saved file looks like:
239
238
#
240
- # .. image:: /_images/constrained_layout/CL01 .png
239
+ # .. image:: /_static/constrained_layout_1b .png
241
240
# :align: center
242
241
#
243
242
# A better way to get around this awkwardness is to simply
@@ -248,13 +247,13 @@ def example_plot(ax, fontsize=12, hide_labels=False):
248
247
labels = [l .get_label () for l in lines ]
249
248
leg = fig .legend (lines , labels , loc = 'center left' ,
250
249
bbox_to_anchor = (0.8 , 0.5 ), bbox_transform = axs [1 ].transAxes )
251
- fig .savefig ('../../doc/_images/constrained_layout/CL02 .png' ,
250
+ fig .savefig ('../../doc/_static/constrained_layout_2b .png' ,
252
251
bbox_inches = 'tight' , dpi = 100 )
253
252
254
253
#############################################
255
254
# The saved file looks like:
256
255
#
257
- # .. image:: /_images/constrained_layout/CL02 .png
256
+ # .. image:: /_static/constrained_layout_2b .png
258
257
# :align: center
259
258
#
260
259
0 commit comments