Not sure where to post this.
I have a fresh Anaconda Win64 python 2.7.10 install which I then updated
using conda update --all.
If it try to:
from pylab import *
I get the following:
File "~\Anaconda\lib\site-packages\matplotlib\backends\qt_compat.py", line
91, in
from PyQt4 import QtCore, Q
Wonderful! thank you!
On Fri, Oct 30, 2015 at 4:51 AM, Joshua Klein wrote:
> My mistake, I thought you were using a DataFrame, not a Series. Instead do
> this
>
> colors = ['r' if row > 0 else 'b' for i, row in meantempanomaly.iteritems()]
> meantempanomaly.plot(kind='bar', color=colors)
>
>
>
My mistake, I thought you were using a DataFrame, not a Series. Instead do
this
colors = ['r' if row > 0 else 'b' for i, row in meantempanomaly.iteritems()]
meantempanomaly.plot(kind='bar', color=colors)
On Thu, Oct 29, 2015 at 5:43 AM, questions anon
wrote:
> Thanks for taking the time to r
An axes can only belong to one figure at a time. And I also don't think I
have ever seen anyone try and transfer an axes from one figure to another.
You *might* have luck with inset locators from axes_grid:
http://matplotlib.org/examples/axes_grid/inset_locator_demo.html
Cheers!
Ben Root
On Thu,
Hi,
I have a previously draw plot that I want to place as an inset in
another figure. I've tried with passing the previously drawn axes as
the `axes` parameter to the `add_axes` method of the figure, and also
tried using the `set_axes` method of the new axes, without success: I
get the new inset a
Thanks for taking the time to respond
I am receiving the error:
AttributeError: 'Series' object has no attribute 'iterrow'
I will look into this further.
thank you
On Thu, Oct 29, 2015 at 2:31 PM, Joshua Klein wrote:
> The pandas plot function doesn’t take colors as it does ‘x’ or ‘y’, but it