Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 00b60ad + e940305 commit 0517187Copy full SHA for 0517187
lib/mpl_toolkits/axes_grid1/axes_grid.py
@@ -271,7 +271,6 @@ def set_label_mode(self, mode):
271
- "1": Only the bottom left axes is labelled.
272
- "all": all axes are labelled.
273
"""
274
- _api.check_in_list(["all", "L", "1"], mode=mode)
275
if mode == "all":
276
for ax in self.axes_all:
277
_tick_only(ax, False, False)
@@ -292,7 +291,7 @@ def set_label_mode(self, mode):
292
291
ax = col[-1]
293
_tick_only(ax, bottom_on=False, left_on=True)
294
295
- else: # "1"
+ elif mode == "1":
296
297
_tick_only(ax, bottom_on=True, left_on=True)
298
0 commit comments