A small package of custom matplotlib style sheets
Project description
Custom Matplotlib Stylesheets
This repository contains a collection of custom stylesheets for Matplotlib, a powerful visualization library in Python.
The stylesheets in this repository are designed to provide a consistent and professional look to your Matplotlib visualizations. Each stylesheet is optimized for a different use case, so you can choose the one that best fits your needs.
Stylesheets
Here are the stylesheets currently included in this repository:
powerbi.mplstyle
: This style is optimized for use with Power BI visualizations, and contains colors related to Shell company colors.powerbi_dark.mplstyle
: This style is optimized for use with Power BI visualizations with a dark background, and also contains colors related to Shell company colors.
How to Use
To use either of these stylesheets, copy them into your working directory or a directory in your Matplotlib style path. You can then use the plt.style.use() function to apply the style to your plots.
For example, to use the powerbi.mplstyle
stylesheet, you would use the following code:
import custom_mpl
import matplotlib.pyplot as plt
plt.style.use('custom_mpl.powerbi')
To use the powerbi_dark.mplstyle
stylesheet, you would use the following code:
import custom_mpl
import matplotlib.pyplot as plt
plt.style.use('custom_mpl.powerbi_dark')
Contributing
Contributions to this repository are welcome. If you have a new style to add or an improvement to an existing style, please feel free to submit a pull request.
Please ensure that your style follows the same format as the existing stylesheets and that it has a descriptive name that accurately reflects its use case.
License
This repository is licensed under the MIT License.
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 custom_mpl-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2685b7100eeff124f8c39b2ac8ccc7b21fe0cddac90809da0acfc058ea499094 |
|
MD5 | 667415434b9819d09fd489c874dd96d0 |
|
BLAKE2b-256 | ff4e3f3959ec575dc168ec26103c1fe01c5a78a58ea416acae6be2d132094693 |