Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 514aff5

Browse files
authored
Merge pull request #18964 from anntzer/psdpi
Remove special-casing for PostScript dpi in pyplot.py.
2 parents 1cf8786 + 1363dbf commit 514aff5

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

lib/matplotlib/pyplot.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -766,9 +766,6 @@ def figure(num=None, # autoincrement if None, else integer from 1-N
766766
f"warning, see the rcParam `figure.max_open_warning`).",
767767
RuntimeWarning)
768768

769-
if get_backend().lower() == 'ps':
770-
dpi = 72
771-
772769
manager = new_figure_manager(
773770
num, figsize=figsize, dpi=dpi,
774771
facecolor=facecolor, edgecolor=edgecolor, frameon=frameon,

0 commit comments

Comments
 (0)