[Matplotlib-users] point right on axis limit not very visible

Ilya Flyamer flyamer at gmail.com
Wed Mar 30 08:09:38 EDT 2016


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
> https://mail.python.org/mailman/listinfo/matplotlib-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20160330/0031bc45/attachment.html>


More information about the Matplotlib-users mailing list