Skip to content

Commit d78314f

Browse files
Minor edits for make_room_ylabel_using_xaxesgrid.py
1 parent 70d2f5c commit d78314f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

examples/axes_grid1/make_room_for_ylabel_using_axesgrid.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,15 @@
44
===================================
55
66
"""
7+
8+
import matplotlib.pyplot as plt
9+
710
from mpl_toolkits.axes_grid1 import make_axes_locatable
811
from mpl_toolkits.axes_grid1.axes_divider import make_axes_area_auto_adjustable
912

1013

1114
plt.figure()
1215
ax = plt.axes([0, 0, 1, 1])
13-
#ax = plt.subplot(111)
1416

1517
ax.set_yticks([0.5])
1618
ax.set_yticklabels(["very long label"])

0 commit comments

Comments
 (0)