setting ticks on y axis

Hi all,
I create boxplots with Mathplotlib but the label in the y axis are: 0, 20, 40, 60, 80, 100.
How can I set labels on the y axis to be 0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100 and fit data according to them?
Regards.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/matplotlib-users/attachments/20180513/b405b289/attachment.html>

To adjust where the ticks are you want to set the 'locactors' on the
y-axis. See
https://matplotlib.org/examples/ticks_and_spines/tick-locators.html for a
nice example of the many ways you can do this.

What do you mean by 'and fit data according to them'?

Tom

ยทยทยท

On Sun, May 13, 2018 at 3:12 PM dark0s via Matplotlib-users < matplotlib-users at python.org> wrote:

Hi all,

I create boxplots with Mathplotlib but the label in the y axis are: 0, 20,
40, 60, 80, 100.

How can I set labels on the y axis to be 0, 10, 20, 30, 40, 50, 60, 70,
80, 90, 100 and fit data according to them?

Regards.
_______________________________________________
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/20180521/e385ffc7/attachment.html&gt;