8000 whitespace · matplotlib/matplotlib@3690d94 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3690d94

Browse files
committed
whitespace
1 parent 50e9b46 commit 3690d94

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

lib/matplotlib/gridspec.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -790,7 +790,7 @@ def update(self, left=None, bottom=None, right=None, top=None,
790790

791791
def reset(self):
792792
"""Restore the positioning parameters to the default values"""
793-
for key in self.get_subplot_params.keys():
793+
for key in self.get_subplot_params().keys():
794794
setattr(self, key, mpl.rcParams[f'figure.subplot.{key}'])
795795

796796
def get_subplot_params(self) -> dict[str, float]:

lib/matplotlib/gridspec.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,3 +161,4 @@ class SubplotParams:
161161
def get_subplot_params(
162162
self,
163163
) -> dict[str, float]: ...
164+
def reset(self) -> None: ...

0 commit comments

Comments
 (0)
0