In Matplotlib, I would like to draw a thick plus sign (or a cross), but the one provided in the marker set is too thin.
Even as I increase its size, it doesn't get any thicker.
For example:
The lines of code drawing the red plus sign are:
# Draw median marker.
if plot_opts.get('bean_show_median', True):
ax.plot(pos, np.median(pos_data),
marker=plot_opts.get('bean_median_marker', '+'),
color=plot_opts.get('bean_median_color', 'r'))
If I add an extra parameter markersize=20
, the marker will only stretch. It will be as thin as before. Can I make it thick?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…