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

Skip to content

Commit 19b0be3

Browse files
committed
The default DPI for PDF is now 200 (it was 50, which is an odd choice)
1 parent 917b3d2 commit 19b0be3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/matplotlib/sphinxext/plot_directive.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -493,7 +493,7 @@ def render_figures(code, code_path, output_dir, output_base, context,
493493
*output_base*
494494
"""
495495
# -- Parse format list
496-
default_dpi = {'png': 80, 'hires.png': 200, 'pdf': 50}
496+
default_dpi = {'png': 80, 'hires.png': 200, 'pdf': 200}
497497
formats = []
498498
for fmt in config.plot_formats:
499499
if isinstance(fmt, str):

0 commit comments

Comments
 (0)