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):
42
42
grid .cbar_axes [i // 2 ].colorbar (im )
43
43
44
44
for cax in grid .cbar_axes :
45
- cax .toggle_label (True )
46
45
cax .axis [cax .orientation ].set_label ("Bar" )
47
46
48
47
# This affects all axes as share_all = True.
@@ -72,16 +71,14 @@ def demo_right_cbar(fig):
72
71
grid .cbar_axes [i // 2 ].colorbar (im )
73
72
74
73
for cax in grid .cbar_axes :
75
- cax .toggle_label (True )
76
74
cax .axis [cax .orientation ].set_label ('Foo' )
77
75
78
76
# This affects all axes because we set share_all = True.
79
77
grid .axes_llc .set_xticks ([- 2 , 0 , 2 ])
80
78
grid .axes_llc .set_yticks ([- 2 , 0 , 2 ])
81
79
82
80
83
- fig = plt .figure (figsize = (5.5 , 2.5 ))
84
- fig .subplots_adjust (left = 0.05 , right = 0.93 )
81
+ fig = plt .figure ()
85
82
86
83
demo_bottom_cbar (fig )
87
84
demo_right_cbar (fig )
You can’t perform that action at this time.
0 commit comments