I have a couple of semilogy line plots, with markers. One line has only 1
point, just the marker. It is right on the left vertical axis and is not
very visible.
It would be better if the xaxis limit was set a bit lower so the point
marker was more visible (and not clipped).
What's a good way to do this that hopefully doesn't involve a lot of manual
tweaking?
How about plt.margins?
Example:
plt.margins(x=.05)
http://matplotlib.org/api/pyplot_api.html?highlight=margins#matplotlib.pyplot.margins
2016-03-30 12:58 GMT+01:00 Neal Becker <ndbecker2 at gmail.com>:
I have a couple of semilogy line plots, with markers. One line has only 1
point, just the marker. It is right on the left vertical axis and is not
very visible.
It would be better if the xaxis limit was set a bit lower so the point
marker was more visible (and not clipped).
What's a good way to do this that hopefully doesn't involve a lot of manual
tweaking?
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users at python.org
Matplotlib-users Info Page
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20160330/0031bc45/attachment.html>