File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
galleries/examples/axes_grid1 Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,6 @@ def demo_bottom_cbar(fig):
4242 grid .cbar_axes [i // 2 ].colorbar (im )
4343
4444 for cax in grid .cbar_axes :
45- cax .toggle_label (True )
4645 cax .axis [cax .orientation ].set_label ("Bar" )
4746
4847 # This affects all axes as share_all = True.
@@ -72,16 +71,14 @@ def demo_right_cbar(fig):
7271 grid .cbar_axes [i // 2 ].colorbar (im )
7372
7473 for cax in grid .cbar_axes :
75- cax .toggle_label (True )
7674 cax .axis [cax .orientation ].set_label ('Foo' )
7775
7876 # This affects all axes because we set share_all = True.
7977 grid .axes_llc .set_xticks ([- 2 , 0 , 2 ])
8078 grid .axes_llc .set_yticks ([- 2 , 0 , 2 ])
8179
8280
83- fig = plt .figure (figsize = (5.5 , 2.5 ))
84- fig .subplots_adjust (left = 0.05 , right = 0.93 )
81+ fig = plt .figure ()
8582
8683demo_bottom_cbar (fig )
8784demo_right_cbar (fig )
You can’t perform that action at this time.
0 commit comments