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.
1 parent 14c8394 commit bd21ffcCopy full SHA for bd21ffc
lib/matplotlib/figure.py
@@ -1509,9 +1509,9 @@ def _process_projection_requirements(
1509
if polar:
1510
if projection is not None and projection != 'polar':
1511
raise ValueError(
1512
- "polar=True, yet projection=%r. "
1513
- "Only one of these arguments should be supplied." %
1514
- projection)
+ f"polar={polar}, yet projection={projection!r}. "
+ "Only one of these arguments should be supplied."
+ )
1515
projection = 'polar'
1516
1517
if isinstance(projection, str) or projection is None:
0 commit comments