How Can I Set The Dash Length In A Matplotlib Contour Plot
I'm making some contour plots in matplotlib and the length of the dashes are too long. The dotted line also doesn't look good. I'd like to manually set the length of the dash. I ca
Solution 1:
Although this is an old question, I had to deal with it and the current answer is not valid anymore. A better approach is to use plt.rcParams['lines.dashed_style'] = [2.0, 2.0]
before your plot.
Post a Comment for "How Can I Set The Dash Length In A Matplotlib Contour Plot"