Methods and style files for making publication quality figures
Project description
Nice Figures
A collection of scripts, modules, and style files for making publication quality figures in Matplotlib.
Styles are in accordance with American Physical Society (APS) and Nature publications.
To load module:
from nice_figures load *
Installation instructions
This package requires prior intallation of the following packages:
I recommend installing for the PyPI server using pip:
pip install nice-figures
Alternatively, the files can be downloaded directly from GitHub.
To import, use:
from nice_figures import *
Functions
The following functions are included:
-
Load a set of predefined rcParams.
-
Add numbering (e.g., a, b, c, 1, 2, 3, ...) to axes.
-
Load a dictionary of colors.
-
Add a border around the figure. This is useful in, e.g., Jupyter notebooks, where it is unclear how large the figure.
For more details about each function, please see the function docstrings.
Examples
Example scripts and figures are given in examples.
Useful resources
- https://matplotlib.org/3.2.1/tutorials/introductory/customizing.html
- https://journals.aps.org/prl/authors
- https://www.nature.com/nature/for-authors/final-submission
Where was this package used?
Any suggestions for improvements are very welcome!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for nice_figures-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 36a9c8e7bde5d76dafab59d4aafae186b43e711b54d623707ad74a4cdb1dbf3e |
|
MD5 | 03659053f21cafc7bfd833a86cf62e43 |
|
BLAKE2b-256 | 5a49f8a25cdb698f0547f2a6203fda23709d58fc007ca44e54ca0bbde59eb578 |