{"repo":"garrettj403/SciencePlots","free":true,"listed":false,"github":"https://github.com/garrettj403/SciencePlots","clone":"git clone https://github.com/garrettj403/SciencePlots.git","description":"Matplotlib styles for scientific plotting","language":"Python","stars":9133,"topics":["matplotlib-style-sheets","matplotlib-figures","scientific-papers","thesis-template","matplotlib-styles","python","cjk-fonts","ieee-paper","latex"],"license":"MIT","category":"dev-tools","readme_excerpt":"Science Plots ============= PyPI version conda-forge version DOI Warning : As of version 2.0.0, you need to add import scienceplots before setting the style ( plt.style.use('science') ). Matplotlib styles for scientific figures This repo has Matplotlib styles to format your figures for scientific papers, presentations and theses. You can find the full gallery of included styles here. Getting Started --------------- The easiest way to install SciencePlots is by using pip : From version v1.1.0 on, import scienceplots is needed on top of your scripts so Matplotlib can make use of the styles. Notes: - SciencePlots requires Latex (see Latex installation instructions). - If you would like to use CJK fonts, you will need to install these font separately (see CJK font installation instructions). Please see the FAQ for more information and troubleshooting. Using the Styles ---------------- \"science\" is the primary style in this repo. Whenever you want to use it, simply add the following to the top of your python script: You can also combine multiple styles together by: In this case, the ieee style will override some of the parameters from the science style in order to configure the plot for IEEE papers (column width, fontsizes, etc.). To use any of the styles temporarily, you can use: Examples -------- The basic science style is shown below: It can be cascaded with other styles to fine-tune the appearance. For example, the science + notebook styles (intended for Jupyter notebooks): Pl","default_branch":null,"files":null,"tree":[],"storefront":"/r/garrettj403","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/garrettj403/SciencePlots/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}