10000 Merge pull request #9431 from matplotlib/auto-backport-of-pr-9427 · matplotlib/matplotlib@43e72a8 · GitHub
[go: up one dir, main page]

Skip to content

Commit 43e72a8

Browse files
authored
Merge pull request #9431 from matplotlib/auto-backport-of-pr-9427
Backport PR #9427 on branch v2.1.x
2 parents a0878c7 + 89a187c commit 43e72a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/backend_bases.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2606,7 +2606,7 @@ def _get_uniform_gridstate(ticks):
26062606
elif scalex == 'linear':
26072607
try:
26082608
ax.set_xscale('log')
2609-
except ValueError:
2609+
except ValueError as exc:
26102610
warnings.warn(str(exc))
26112611
ax.set_xscale('linear')
26122612
ax.figure.canvas.draw_idle()

0 commit comments

Comments
 (0)
0