Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

matplotlib: make plus sign thicker

People also ask

What is the %Matplotlib inline?

You can use the magic function %matplotlib inline to enable the inline plotting, where the plots/graphs will be displayed just below the cell where your plotting commands are written. It provides interactivity with the backend in the frontends like the jupyter notebook.

How do I mark points in matplotlib?

Initialize a list for x and y with a single value. Limit X and Y axis range for 0 to 5. Lay out a grid in the current line style. Plot x and y using plot() method with marker="o", markeredgecolor="red", markerfacecolor="green".


You can use markeredgewidth (or mew). You'll want to combine it with markersize, otherwise you get thick but tiny markers.

For example:

plt.plot([2,4,6,1,3,5], '+', mew=10, ms=20)

enter image description here


Use markeredgewidth in connection with markersize.