mplcyberpunk icon indicating copy to clipboard operation
mplcyberpunk copied to clipboard

"Cyberpunk style" for matplotlib plots

Results 19 mplcyberpunk issues
Sort by recently updated
recently updated
newest added

```py plt.style.use("cyberpunk") ax = plt.gca() ax.step(range(7), [0, 1, 2, 3, 2, 1, 0], marker="o") mplcyberpunk.add_glow_effects(gradient_fill=True) plt.show() ``` ![image](https://user-images.githubusercontent.com/1243957/163696935-3c940089-a54f-4193-b668-9b26c0bea9a7.png) This doesn't seem like an easy one.

bug
enhancement

add_gradient_fill() now supports: - log plots (solves issue #17) - having a tuple(minimum, maximum) alpha instead of a single float (which is still supported) - Starting the gradient at: -...

Could this feature please be added? Custom colors for plot and custom gradient colors for graph area Thankyou

This is really low priority, but for log-data the gradient fades out quickly, as it is a linear gradient. It looks pretty cool but an option for a log-gradient would...

enhancement

As in, have the effect go all the way to the bottom of the chart. See below: **IMPORTANT**: for the sake of this argument, the Y axis of the line...

enhancement

Is there a fix for it? I'd like to be able to save my figs in higher dpi. But for some reason it only saves as a dark rectangle of...

When plotting individual points in matplotlib, e.g: ``` plt.plot(x, y, marker="x") mplcyberpunk.add_glow_effects(gradient_fill=True) plt.show() ``` The module returns three warnings: ``` \mplcyberpunk\core.py:172: RuntimeWarning: divide by zero encountered in divide moment =...

Hi! Your current module does only support step plots with the variable where = ''pre" (which is the default value, as indicated in the [documentation](https://matplotlib.org/stable/api/_as_gen/matplotlib.axes.Axes.step.html). I've changed the code so...

``` Traceback (most recent call last): File "C:\Users\Raj Dave\Desktop\New folder\main.py", line 5, in import mplcyberpunk File "C:\Users\Raj Dave\AppData\Local\Programs\Python\Python312\Lib\site-packages\mplcyberpunk\__init__.py", line 4, in import pkg_resources ModuleNotFoundError: No module named 'pkg_resources' ``` python...