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