| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -54,6 +54,9 @@ | |||
| 54 | 54 | # example, the 'Nearest_vs_none-pdf.pdf' has been pre-converted into | |
| 55 | 55 | #'Nearest_vs_none-pdf.png' at 80 dpi. We simply need to load and | |
| 56 | 56 | # display it. | |
| 57 | + # The conversion is done with: | ||
| 58 | + # gs -dNOPAUSE -dBATCH -dDOINTERPOLATE -sDEVICE=pngalpha \ | ||
| 59 | + # -sOutputFile=None_vs_nearest-pdf.png -r80 None_vs_nearest-pdf.pdf | ||
| 57 | 60 | pdf_im_path = cbook.get_sample_data('None_vs_nearest-pdf.png') | |
| 58 | 61 | pdf_im = plt.imread(pdf_im_path) | |
| 59 | 62 | fig2 = plt.figure(figsize=[8.0, 7.5]) | |
| Back | FazBrowse Home | New Git URL |
0 commit comments