mplcyberpunk
mplcyberpunk copied to clipboard
Suggestion: lotting individual points
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 = lambda y : (scaler(y)-scaler(ya)) / (scaler(yb)-scaler(ya))
\mplcyberpunk\core.py:172: RuntimeWarning: invalid value encountered in divide
moment = lambda y : (scaler(y)-scaler(ya)) / (scaler(yb)-scaler(ya))
\mplcyberpunk\core.py:186: UserWarning: Attempting to set identical low and high xlims makes transformation singular; automatically expanding.
im = ax.imshow(z,
Would it be possible for compatibility with single point plots to be implemented, with the same effects as the make_scatter_glow()
function?