user3737702
user3737702

Reputation: 641

Markers at the border of the fig cannot show completely using matplotlib

What I expect is like this: enter image description here

What I get is this: enter image description here How to show all the marker completely without extending ax? People have given solution which extends ax(https://stackoverflow.com/questions/16136748/last-graph-marker-in-matplotlib-not-showing-fully#=)? Is this the only way?

Upvotes: 3

Views: 258

Answers (1)

es1208
es1208

Reputation: 78

Have you tried turning off the clipping? Try

plt.plot(x, y, 'o', clip_on=False)

Upvotes: 6

Related Questions