From b9e54729d7e14a0ee78329e32c44b2c08a410823 Mon Sep 17 00:00:00 2001 From: Shayan Davoodi <52105833+shayandavoodii@users.noreply.github.com> Date: Tue, 5 Mar 2024 10:15:57 +0330 Subject: [PATCH] Use a better warning style --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fc0d8ac..4fcac1a 100644 --- a/README.md +++ b/README.md @@ -2,8 +2,8 @@ ![PyPI Version](https://img.shields.io/pypi/v/LovelyPlots.svg) ![PyPI Downloads](https://static.pepy.tech/badge/LovelyPlots) [![doi](https://img.shields.io/badge/DOI-10.5281%2Fzenodo.6903937-blue)]( http://doi.org/10.5281/zenodo.6903937) ![tests](https://github.com/killiansheriff/WarrenCowleyParameters/actions/workflows/python-tests.yml/badge.svg) -> **Warning** -> : As of version 1.0.0, you need to add ``import lovelyplots`` before setting the style (``plt.style.use('ipynb')``). +> [!WARNING] +> As of version 1.0.0, you need to add ``import lovelyplots`` before setting the style (``plt.style.use('ipynb')``). LovelyPlots is a repository containing ``matplotlib`` style sheets to nicely format figures for scientific papers, thesis and presentations while keeping them fully editable in ``Adobe Illustrator``. Additonaly, ``.svg`` exports options allows figures to automatically adapt their font to your document's font. For example, ``.svg`` figures imported in a ``.tex`` file will automatically be generated with the text font used in your ``.tex`` file.