it also works for me for 1.2.0
In [1]: mat.__version__
Out[1]: '1.2.0'
In [2]: plot(np.arange(5),'ro')
Out[2]: []
In [3]: ax = gca()
In [4]: ax.set_xticklabels('abcdefghij')
Out[4]:
[,
,
,
,
,
,
,
,
]
In [5]: [t.get_text() for t in ax.get_xticklabels()]
Out[5]: ['a', 'b', 'c', 'd', 'e'
2013/3/14 Andrew H. Jaffe :
> Dear all,
>
> None of the obvious ways for changing ticklabels seem to work for the current
> version of Matplotlib (1.2.0 for me). At present,
> ax.yaxis.get_ticklabels().get_text() returns empty strings, as does
> ax.get_yticklabels(), and the equivalent set_* fun
> You must set the desired backend from the very begining and before
> importing pylab o pyplot.
That did it - I made the change in my .matplotlibrc file and it no longer
crashes.
Thanks!
Oliver
--
Everyone hates slow w
2013/3/14 Oliver King :
> [...]
> I tried doing as you suggested [don't import Tk directly and change the
> backend to Agg] but it still crashes with the same TkAqua message.
You must set the desired backend from the very begining and before
importing pylab o pyplot.
Goyo
--
Hi Ben,
> Are you displaying the plots in the thread, or are you just saving the plots
> directly? If you are saving them directly, then you can set your backend to
> be "Agg" and get rid of the Tkinter.Tk() call (and probably should get rid of
> the import as well). That way, matplotlib won'
> You lost me. Are you trying to create box and whisker plots or do
> you just want rectangles? N = 2 is awfully small dataset for box/
> whisker plots. If all you want are the rectangles -- use those directly:
>
> import numpy as np
> import matplotlib.pyplot as plt
> from matplotlib.patches imp
On Thu, Mar 14, 2013 at 12:40 AM, wrote:
> Dear Matplotlibbers,
>
> I'm running matplotlib 1.1.0 and would like to plot pairs of values,
> e.g.
> [[0.27,0.43],[0.17,0.35]]
>
> When using boxplot, the values of the pairs correspond to the "outer
> whiskers", but I would like that the interquartile
Dear all,
None of the obvious ways for changing ticklabels seem to work for the current
version of Matplotlib (1.2.0 for me). At present,
ax.yaxis.get_ticklabels().get_text() returns empty strings, as does
ax.get_yticklabels(), and the equivalent set_* functions don't seem to have any
effect.
Hi there,
It seems a little odd to me that rec2csv would overthrow float formatting,
such as FormatFloat(2). I am reading in a file that looks like (with
csv2rec):
ES2006a C 2_1 if 23.53 23.66 0.130.17-0.7844
-2.2863 IN 4.819 1.981 2.838 if 0 0
I am currently trying to work on a program that will allow the user to
display their dataset in the form of a colormap and through the use of
sliders, it will also allow the user to adjust the threshold of the colormap
and thus update the colormap accordingly. The best to describe this would
be th
On Wed, Mar 13, 2013 at 9:43 PM, Oliver King wrote:
> Hi,
>
> I have a library which uses matplotlib to produce some plots. This library
> is called by a thread. However, python crashes with this error when it
> tries to plot something:
>
> Tk_MacOSXSetupTkNotifier: first [load] of TkAqua has to o
Dear Matplotlibbers,
I'm running matplotlib 1.1.0 and would like to plot pairs of values,
e.g.
[[0.27,0.43],[0.17,0.35]]
When using boxplot, the values of the pairs correspond to the "outer
whiskers", but I would like that the interquartile ranges correspond to
the value pairs. The whiskers sh
12 matches
Mail list logo