Skip to content

A little package to make it easy to make pretty plots in matplotlib without having to fiddle too much :-)

License

Notifications You must be signed in to change notification settings

KeyanGootkin/kplot

Repository files navigation

kplot

Hey all, this is just a tiny little package to change how matplotlib looks :-)

Installation

I recommend using pip

pip install kplot

or to update it

pip install kplot -U

If you want to get fancy just make sure you put kplot somewhere in your PATH, since kplot.dark, kplot.colorblind, and kplot.kg look there for the style sheets!

Usage

To change how your plots look all you have to do is add a simple import statement!

import kplot.kg                #a pretty default light style
#or
import kplot.dark              #a dark style, perfect for Jupyter Lab's dark theme!
#or
import kplot.colorblind        #A style based around the perceptually uniform color map 'magma'

Known Issues

Currently there are a couple of small quirks to kplot

  • There seems to be some inconsistency with the default plot size
  • You will have to restart your kernel in Jupyter to completely switch between styles, this is most notable when switching from the dark style.

About

A little package to make it easy to make pretty plots in matplotlib without having to fiddle too much :-)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •