Quantcast
Channel: Remove line through points in matplotlib plot - Stack Overflow
Browsing all 3 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Answer by ImportanceOfBeingErnest for Remove line through points in...

It is in general hard to let the lines stop at the edges of the markers. The reason is that lines are defined in data coordinates, while the markers are defined in points. A workaround would be to hide...

View Article



Image may be NSFW.
Clik here to view.

Answer by Nathan for Remove line through points in matplotlib plot

I think the best way to go about it is to overlay the triangles over the lines:import matplotlib.pyplot as pltimport numpy as npvalues = np.random.normal(loc=0, scale=1, size=10)plt.plot( range(10),...

View Article

Image may be NSFW.
Clik here to view.

Remove line through points in matplotlib plot

I have the following matplotlib snippet:fig, ax = plt.subplots(figsize=(6,6))values = np.random.normal(loc=0, scale=1, size=10)ax.plot(range(10), values, 'r^', markersize=15, alpha=0.4);which produces...

View Article
Browsing all 3 articles
Browse latest View live




Latest Images