This is a small omission, and I think most people would figure it out, but I
thought it might be worth mentioning:
Page:
http://matplotlib.sourceforge.net/users/pyplot_tutorial.html#working-with-multiple-figures-and-axes
The code example, both on the page, and the link is missing:
plt.show()
Be
Hello,
Sorry if this question was answered before. I did a search in the
mailing list archives but couldn't find any answer.
Is there an easy way to use comma as a decimal separator in texts,
especially in tick labels? I know that it is possible to user
formatters to do that, but I was wondering
well I knew there was a better solution, thanks.
I guess I'll just have to upgrade my installation.
Andre
On Jul 28, 2011, at 12:44 PM, Ben Breslauer wrote:
> Hmm, no, it looks like the tick_params were added in 1.0. I can also get it
> to work using
>
> plt.setp(ax.xaxis.get_ticklines(min
Hmm, no, it looks like the tick_params were added in 1.0. I can also get it
to work using
plt.setp(ax.xaxis.get_ticklines(minor=False), markersize=10)
but I'm using matplotlib 1.0.1. I'm not sure if neither of those solutions
work.
Ben
On Thu, Jul 28, 2011 at 3:30 PM, Andre' Walker-Loud wrote
Hi Ben,
Would you expect this to work on Matplotlib 0.99.3?
I get the following error
AttributeError: 'XAxis' object has no attribute 'set_tick_params'
Thanks,
Andre
On Jul 28, 2011, at 12:18 PM, Ben Breslauer wrote:
> Hi Andre,
>
> You should be able to set the size with the following:
Hi Andre,
You should be able to set the size with the following:
params = {'length': 10}
axis = plt.axes().xaxis
axis.set_tick_params(which='major', **params)
You can also use 'minor' instead of 'major' to set the minor ticks. There
are a number of different valid values for the params dict, in
Hi All,
I am trying to modify tick sizes and labels. Reading documents and examples, I
have found an easy way to modify the labels,
> import matplotlib.pyplot as plt
>
> ax = plt.axes()
> font_size = 24
>
> plt.setp(ax.get_xticklabels(),fontsize=font_size)
but I am struggling to find such a n