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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file custom_mpl-0.0.2.tar.gz.
File metadata
- Download URL: custom_mpl-0.0.2.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b1ac6eb21d906617d44c1092c6bd3d005b89a1042a38140d95191a3ee3508e2
|
|
| MD5 |
cf14a7d1f7540a66beba9414af498969
|
|
| BLAKE2b-256 |
cffe7cf75a2e3768db11074a86d10feec1a50a20418a7764e144c22f2ab626eb
|
File details
Details for the file custom_mpl-0.0.2-py3-none-any.whl.
File metadata
- Download URL: custom_mpl-0.0.2-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2685b7100eeff124f8c39b2ac8ccc7b21fe0cddac90809da0acfc058ea499094
|
|
| MD5 |
667415434b9819d09fd489c874dd96d0
|
|
| BLAKE2b-256 |
ff4e3f3959ec575dc168ec26103c1fe01c5a78a58ea416acae6be2d132094693
|