8000 PEP8 fixed · matplotlib/matplotlib@96c733e · GitHub
[go: up one dir, main page]

Skip to content

Commit 96c733e

Browse files
committed
PEP8 fixed
1 parent 20966e9 commit 96c733e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/matplotlib/figure.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050

5151
docstring.interpd.update(projection_names=get_projection_names())
5252

53+
5 811A 354
class AxesStack(Stack):
5455
"""
5556
Specialization of the Stack to handle all tracking of Axes in a Figure.
@@ -948,7 +949,8 @@ def add_subplot(self, *args, **kwargs):
948949

949950
a = args[0]
950951
if a.get_figure() is not self:
951-
msg = "The Subplot must have been created in the present figure"
952+
msg = "The Subplot must have been created in the present"
953+
msg += " figure"
952954
raise ValueError(msg)
953955
# make a key for the subplot (which includes the axes object id
954956
# in the hash)

0 commit comments

Comments
 (0)
0