{"repo":"dhaitz/mplcyberpunk","free":true,"listed":false,"github":"https://github.com/dhaitz/mplcyberpunk","clone":"git clone https://github.com/dhaitz/mplcyberpunk.git","description":"\"Cyberpunk style\" for matplotlib plots","language":"Python","stars":1849,"topics":["python","dataviz","visualization","plotting","matplotlib"],"license":null,"category":"dev-tools","readme_excerpt":"mplcyberpunk A Python package on top of matplotlib to create 'cyberpunk' style plots with 3 additional lines of code. Installation pip install mplcyberpunk Usage After importing the package, the cyberpunk stylesheet (dark background etc.) is available via plt.style.use . The line glow and 'underglow' effects are added via calling add glow effects : Result: This effect is currently only implemented for lines. The individual steps are described here in more detail. Add effects individually Instead of add glow effects , you can add the line glow and underglow effects separately: mplcyberpunk.make lines glow() mplcyberpunk.add underglow() You can also add the effect to a specific axis object explicitly: fig, ax = plt.subplots() ... mplcyberpunk.make lines glow(ax) To activate the glow effect only for specific lines, pass a Line2D object or a list of Line2Ds to make lines glow . Gradient glow Gradient underglow effect can be added with mplcyberpunk.add glow effects(gradient fill=True) or independently of line glow with mplcyberpunk.add gradient fill(alpha gradientglow=0.5) add gradient fill takes a gradient start argument for different gradient starting values: Different glow configurations: Scatter plots Glow effect can be added to scatter plots via mplcyberpunk.make scatter glow() : Colormap The default colormap is cool : Others: Bar charts Gallery Some images can be bought as posters here.","default_branch":null,"files":null,"tree":[],"storefront":"/r/dhaitz","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/dhaitz/mplcyberpunk/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}