Skip to content
This repository was archived by the owner on Nov 13, 2025. It is now read-only.

SNEE-ICS/sneeifstyles

 
 

Repository files navigation

SNEE IF Styles

License Python Version Code Style: Black

SNEE IF Styles is a python package with a light and a dark matplotlib style.

Line plot style Distribution plot style
Line plot Distribution plot

How do I install SNEE IF Styles?

sneeifstyles is a Python package. To install it, simply run:

pip install git+https://github.com/SNEE-ICS/sneeifstyles.git

How do I use SNEE IF Styles?

We are only using the light theme in our SNEE IF styling To use the light Matplotlib style theme, you can do the following:

from sneeifstyles import mpl_style

mpl_style()

⚠️ For Jupyter Notebooks--> Please make sure you run from sneeifstyles import mpl_style and mpl_style() in code cells as shown above.

What chart types can use SNEE IF Styles?

  • Line plots
  • Scatter plots
  • Bubble plots
  • Bar charts
  • Pie charts
  • Histograms and distribution plots
  • 3D surface plots
  • Stream plots
  • Polar plots

Can you show me a few examples?

To run the examples in example.ipynb, install the required packages using pip install -r requirements_notebook.txt in a Python virtual environment of your choice.

import matplotlib.pyplot as plt
from sneeifstyles import mpl_style

def plot():
    mpl_style()
    fig, axes = plt.subplots(2, 2, figsize=(15, 10))
    
    # the following functions are defined in example.ipynb 
    line_plot(axes[0, 0])
    scatter_plot(axes[0, 1])
    distribution_plot(axes[1, 0])
    ax = plt.subplot(2, 2, 4, projection='polar')
    polar_plot(ax)

plot()

png

All of matplotlibrc's options can be found here.

What license do you use?

QB Styles is licensed under the Apache 2.0 License.

About

SNEE-ICS Matplotlib styles

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 97.9%
  • Python 2.0%
  • Makefile 0.1%