We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e522abd commit 8e840d7Copy full SHA for 8e840d7
lib/mpl_toolkits/axes_grid1/axes_grid.py
@@ -269,7 +269,6 @@ def set_label_mode(self, mode):
269
- "1": Only the bottom left axes is labelled.
270
- "all": all axes are labelled.
271
"""
272
- _api.check_in_list(["all", "L", "1"], mode=mode)
273
if mode == "all":
274
for ax in self.axes_all:
275
_tick_only(ax, False, False)
@@ -290,7 +289,7 @@ def set_label_mode(self, mode):
290
289
ax = col[-1]
291
_tick_only(ax, bottom_on=False, left_on=True)
292
293
- else: # "1"
+ elif mode == "1":
294
295
_tick_only(ax, bottom_on=True, left_on=True)
296
0 commit comments