Closed
Description
Hi all,
I am trying to set the markeredgewidth to zero in rcParams (since used by many scripts).
However, there are two problems:
-
The width of the ticks changes with the setting for the markeredgewidth
-
When saving the figure to pdf, the markeredge is still visible if markeredgewidth=0. However, it works correctly, if markeredgewidth is set to a small value, e.g. 0.0001
Here is a sample script:
import matplotlib as mpl
import matplotlib.pyplot as plt
mpl.rcParams['lines.markersize'] = 10
mpl.rcParams['lines.markeredgewidth'] = 0
plt.plot([1, 2, 3], [2, 4, 3], 'o-')
plt.xlim([0.9, 3.1])
plt.ylim([1.9, 4.1])
plt.savefig('testfig.pdf', format='pdf')
plt.show()
I am running mpl 1.1.0 with python2.7 on Debian linux.
Thanks a lot for your help,
Eike
Metadata
Metadata
Assignees
Labels
No labels