[Tutor] Does matplotlib.finance still work?
Sydney Shall
s.shall at virginmedia.com
Fri Aug 25 06:01:29 EDT 2017
On 24/08/2017 18:46, Alan Gauld via Tutor wrote:
> On 24/08/17 14:51, C W wrote:
>
>> I have the following code, I get an error at the first line.
>
> So don't make us guess. What is the error(full text please)?
>
>> from matplotlib.finance import quotes_historical_yahoo_ochl
>
> And what does a dir() show for matplotlib.finance?
> Are you sure the name is spelled right etc?
>
>> I have heard this package is either upgraded or replaced. If so, what do
>> you recommend?
>
> Contact its author perhaps?
>
Is this the answer, perhaps.
>>>import matplotlib
>>>dir(matplotlib.finance)
>>>Traceback (most recent call last):
File "<ipython-input-2-87d00fcbe86c>", line 1, in <module>
dir(matplotlib.finance)
AttributeError: module 'matplotlib' has no attribute 'finance'
Thanks to Alan G? for his excellent teaching.
--
Sydney
More information about the Tutor
mailing list