I am using a third party library to make a plot. The library returns both the figure and the axis for the user to make further customization on the plots. In a nutshell, I have something like this:
fig, ax = someLibrary.plot(x, y)
Internally, the library adds markers to the plot as follows
ax.plot(x, y, 'o-')
How can I remove all markers on the plots?