Skip to content

Commit 835154a

Browse files
authored
Fix pylint err
1 parent e12db8d commit 835154a

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

lib/matplotlib/figure.py

+5-3
Original file line numberDiff line numberDiff line change
@@ -2045,15 +2045,17 @@ def dpi(self):
20452045
@dpi.setter
20462046
def dpi(self, value):
20472047
self._parent.dpi = value
2048-
2048+
20492049
def get_dpi(self):
2050-
"""Return the resolution of the parent figure in dots-per-inch as a float."""
2050+
"""
2051+
Return the resolution of the parent figure in dots-per-inch as a float.
2052+
"""
20512053
return self._parent.dpi
20522054

20532055
def set_dpi(self, val):
20542056
"""
20552057
Set the resolution of parent figure in dots-per-inch.
2056-
2058+
20572059
Parameters
20582060
----------
20592061
val : float

0 commit comments

Comments
 (0)