Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Docs] how to export high resolution TIFF images #874

Closed
lisphilar opened this issue Jul 6, 2021 · 0 comments
Closed

[Docs] how to export high resolution TIFF images #874

lisphilar opened this issue Jul 6, 2021 · 0 comments
Labels
documentation Improvements or additions to documentation

Comments

@lisphilar
Copy link
Owner

As asked by @AnujTiwari with #851, how to export high resolution TIFF images is not documented currently.

Meanwhile, please let me know how to export the intermediate maps (snl.trend().summary()) in high resolution .tif image format. Thank you

When we use CovsirPhy with Jupyter Notebook, we can export TIFF files as follows.

snl.interactive = False
snl.trend(filename="image_filename.tiff", dpi=300)

When we use it with Python scripts, snl.interactive = False is un-necessary.

snl.trend() (and all methods which create figures) calls matplotlib.pyplot.savefig() internally. Keyword arguments of matplotlib.pyplot.savefig(), including dpi=300, can be used as the keyword arguments of snl.trend(). If not, that may be a bug.

@lisphilar lisphilar added this to the Release v2.22.0 milestone Jul 6, 2021
@lisphilar lisphilar added the documentation Improvements or additions to documentation label Jul 6, 2021
@lisphilar lisphilar changed the title [docs] how to export high resolution TIFF images [Docs] how to export high resolution TIFF images Jul 31, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant