{"library":"scienceplots","title":"SciencePlots","description":"SciencePlots provides Matplotlib style sheets for scientific publications, offering preconfigured plots that match journal requirements (IEEE, Nature, etc.) and high-contrast color cycles. It requires an explicit `import scienceplots` statement (since v1.1.0). Current version is 2.2.1, with a relatively slow release cadence (every few months). Requires Python >=3.8.","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install scienceplots"],"cli":null},"imports":["import scienceplots"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import matplotlib.pyplot as plt\nimport scienceplots\n\n# Apply 'science' style (uses LaTeX)\nplt.style.use('science')\n\n# Or without LaTeX:\n# plt.style.use(['science', 'no-latex'])\n\nfig, ax = plt.subplots()\nax.plot([1, 2, 3], [1, 4, 9])\nax.set_xlabel('x')\nax.set_ylabel('y')\nfig.savefig('figure.pdf')","lang":"python","description":"Import scienceplots to register styles, then use `plt.style.use(...)` like any Matplotlib style.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}