Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions lib/matplotlib/patches.py
Original file line number Diff line number Diff line change
Expand Up @@ -4051,7 +4051,7 @@ def __init__(self, posA=None, posB=None,
def set_dpi_cor(self, dpi_cor):
"""
dpi_cor is currently used for linewidth-related things and
shink factor. Mutation scale is not affected by this.
shrink factor. Mutation scale is not affected by this.
"""

self._dpi_cor = dpi_cor
Expand All @@ -4060,14 +4060,14 @@ def set_dpi_cor(self, dpi_cor):
def get_dpi_cor(self):
"""
dpi_cor is currently used for linewidth-related things and
shink factor. Mutation scale is not affected by this.
shrink factor. Mutation scale is not affected by this.
"""

return self._dpi_cor

def set_positions(self, posA, posB):
""" set the begin end end positions of the connecting
path. Use current vlaue if None.
""" set the begin and end positions of the connecting
path. Use current value if None.
"""
if posA is not None:
self._posA_posB[0] = posA
Expand Down