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.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a8c4bed7cad91819d976837a8f4f37afb2a400aedaf08537ce80c33af8612713 |
|
MD5 | 57c11a492dba2d2aced8b97c2f68ac04 |
|
BLAKE2b-256 | eb9913cd5b9a6cf86c37f6d633ec98d01c739e818e79bb911b949b1ac4bd1717 |