could also be
> the reason for a ValueError. So you would need to use whatever pandas
> variable that indices.index derived from.
>
> Ben Root
>
> On Wed, Jun 17, 2015 at 12:48 PM, Ted To wrote:
>
>> Unless I recall incorrectly, I think I am using set_xticklabels
>
e x values
> to ax.plot() along with the y values? Then you won't need to set the
> labels because matplotlib will do it for you.
>
> Ben Root
>
> On Wed, Jun 17, 2015 at 10:13 AM, Ted To wrote:
>
>> Hi,
>>
>> I'm having a strange problem a
Hi,
I'm having a strange problem and I don't understand why this is
happening. I am plotting the dataframe in: http://pastebin.com/C0Pt0iYd
but I'm getting too few tick marks. My code for the plot is:
fig, ax = plt.subplots()
plt.rc('text', usetex=True)
fig.autofmt_xdate()
ax.plot(indi
g Smith
> wrote:
>> How about prepending '\n' to your minor labels?
>>
>> On Aug 15, 2014, at 1:38PM, Ted To wrote:
>>
>>> Hi,
>>>
>>> I'm trying to set two lines of xtick_labels But I can't figure out how
>>> to get
Hi,
I'm trying to set two lines of xtick_labels But I can't figure out how
to get them on separate lines. These are for errorbars where I have two
variables for each of four categories. Using the following code, I'm
able to create the attached figure. How does one move the "minor"
xtick_labels
Root wrote:
>
>
>
> On Tue, Nov 12, 2013 at 8:01 PM, Ted To <mailto:rainexpec...@theo.to>> wrote:
>
> Perfect! Many thanks! Seems to be an undocumented feature...
>
>
> Not undocumented. In the docs for hist(), it says that it accepts any
> param
Perfect! Many thanks! Seems to be an undocumented feature...
Out of curiosity, what is the rationale behind using 'dashed' and
'dashdot' instead of '--' and '-.'?
Ted To
On 11/12/2013 04:59 PM, Benjamin Root wrote:
>
>
>
> On Tue
On 02/08/2012 02:22 PM, John Hunter wrote:
>
>
> On Wed, Feb 8, 2012 at 1:12 PM, Ted To <mailto:rainexpec...@theo.to>> wrote:
>
> Is it possible to force the date ticks to be the same in two different
> plots? For example, the attached figures cover the s
Hi,
Is it possible to force the date ticks to be the same in two different
plots? For example, the attached figures cover the same time spans but
in one, the data are weekly and the other, monthly. While there is
nothing really wrong with different tick marks, aesthetically it would
be nice if t
On 02/08/2012 11:28 AM, John Hunter wrote:
>
> OK, here is where the problem is. In the plt.axis call you are setting
> the x-axis min to 0 which is not a legal date value. I suggest letting
> the x-axis take care of itself, and set the y-axis limits with
>
> plt.ylim(-1.5, 1.5)
>
> JDH
Man
On 02/08/2012 11:17 AM, John Hunter wrote:
>
>
> On Wed, Feb 8, 2012 at 10:06 AM, Ted To <mailto:rainexpec...@theo.to>> wrote:
>
> If it hasn't been fixed, is there a workaround?
>
> On 02/08/2012 10:42 AM, Ted To wrote:
> > I believe
If it hasn't been fixed, is there a workaround?
On 02/08/2012 10:42 AM, Ted To wrote:
> I believe I have traced it to some axhline and axis commands and this is
> apparently an old problem. Does it work with version 1.1.0? I have
> 1.0.1 installed on a debian system.
>
> On
I believe I have traced it to some axhline and axis commands and this is
apparently an old problem. Does it work with version 1.1.0? I have
1.0.1 installed on a debian system.
On 02/08/2012 09:47 AM, Ted To wrote:
> Hi,
>
> I'm experiencing a very strange problem with plot_dat
Hi,
I'm experiencing a very strange problem with plot_date that I can't
figure out.
pyplot.plot_date(pylab.date2num(dates),diff,'b-',label='Chained')
pyplot.show()
dates, naturally, is a list of dates and diff is an array of floats.
With my script, this fails. But if I interactively ent
14 matches
Mail list logo