Closed NRGPlus79 closed 5 years ago
Hi @NRGPlus79,
Thanks for reporting this issue. Are you sure you are using pandas-bokeh 0.3.1, because the current release is 0.3?
Best Patrik
Hello Patrick!
Thanks for the follow up. I tried 0.3 and got the same issue. That's why I installed the latest developer version (0.3.1). The issue persisted.
Many thanks again.
Get Outlook for Androidhttps://aka.ms/ghei36
From: Patrik Hlobil notifications@github.com Sent: Sunday, August 18, 2019 3:16:54 PM To: PatrikHlobil/Pandas-Bokeh Pandas-Bokeh@noreply.github.com Cc: NRGPlus79 rafael_guitart@hotmail.com; Mention mention@noreply.github.com Subject: Re: [PatrikHlobil/Pandas-Bokeh] Attribute Error in DataFrames (#39)
Hi @NRGPlus79https://github.com/NRGPlus79,
Thanks for reporting this issue. Are you sure you are using pandas-bokeh 0.3.1, because the current release is 0.3?
Best Patrik
β You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/PatrikHlobil/Pandas-Bokeh/issues/39?email_source=notifications&email_token=AMTXRT6NEJUPO7FHUVDTV3DQFEVSNA5CNFSM4IMSCKG2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4Q5X6Y#issuecomment-522312699, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AMTXRT2WH3JOU63MKP7UVWDQFEVSNANCNFSM4IMSCKGQ.
Hi @NRGPlus79,
Ok. I guess I know what the problem is, For the most recent version 0.25 of pandas I had to do a lot of refactoring and changes. I will try to fix this bug as early as possible, but Iβm on vacation right now and have no computer. If you want to avoid the problem, you can upgrade your pandas version to at least 0.24.
Thanks again for reporting the bug π.
Best Patrik
PS: i just fixed the issue (at least I hope so). @NRGPlus79 , could you please test if the current development version works for you?
Hello Patrik. Many thanks again. Unfortunately I get the same error. Let me share the full detail with you:
AttributeError Traceback (most recent call last)
Hi @NRGPlus79 ,
I could not reproduce your problem with the current master on Github. It works fine for me:
Could you please reinstall your Pandas-Bokeh version to the current git master and try again ;).
Best Patrik
Hello Patrik,
Many thanks for the follow up. I found this issue in Pandas v 0.23.4, so one version ahead of yours.
I rolled back my Pandas so I have no issues now, but this is sign that maybe ulterior versions of Panda might bring some issues to this library.
Keep the good work! Many thanks again.
De: Patrik Hlobil notifications@github.com Enviado: domingo, 1 de septiembre de 2019 07:46 p. m. Para: PatrikHlobil/Pandas-Bokeh Pandas-Bokeh@noreply.github.com CC: NRGPlus79 rafael_guitart@hotmail.com; Mention mention@noreply.github.com Asunto: Re: [PatrikHlobil/Pandas-Bokeh] Attribute Error in DataFrames (#39)
Hi @NRGPlus79https://github.com/NRGPlus79 ,
I could not reproduce your problem with the current master on Github. It works fine for me:
[image]https://user-images.githubusercontent.com/31643597/64080894-6a120680-ccf9-11e9-8721-edde861e0533.png
Could you please reinstall your Pandas-Bokeh version to the current git master and try again ;).
Best Patrik
β You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/PatrikHlobil/Pandas-Bokeh/issues/39?email_source=notifications&email_token=AMTXRTZJI65ZSA4VUF6367DQHQEXRA5CNFSM4IMSCKG2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5UILRA#issuecomment-526943684, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AMTXRT22A46SHXE4Q5L2JRLQHQEXRANCNFSM4IMSCKGQ.
Hello Patrik,
One sensible improvement to the current pack would be the option to reverse the color palette. Unfortunately most palettes give a darker tone (higher presence) to darker colors.
See below how to reverse the palette upon import:
https://automating-gis-processes.github.io/2017/lessons/L5/advanced-bokeh.html
Look for this command:
palette.reverse()
Many thanks again!
De: Rafael AdriΓ‘n Guitart rafael_guitart@hotmail.com Enviado: lunes, 2 de septiembre de 2019 12:50 p. m. Para: PatrikHlobil/Pandas-Bokeh reply@reply.github.com Asunto: Re: [PatrikHlobil/Pandas-Bokeh] Attribute Error in DataFrames (#39)
Hello Patrik,
Many thanks for the follow up. I found this issue in Pandas v 0.23.4, so one version ahead of yours.
I rolled back my Pandas so I have no issues now, but this is sign that maybe ulterior versions of Panda might bring some issues to this library.
Keep the good work! Many thanks again.
De: Patrik Hlobil notifications@github.com Enviado: domingo, 1 de septiembre de 2019 07:46 p. m. Para: PatrikHlobil/Pandas-Bokeh Pandas-Bokeh@noreply.github.com CC: NRGPlus79 rafael_guitart@hotmail.com; Mention mention@noreply.github.com Asunto: Re: [PatrikHlobil/Pandas-Bokeh] Attribute Error in DataFrames (#39)
Hi @NRGPlus79https://github.com/NRGPlus79 ,
I could not reproduce your problem with the current master on Github. It works fine for me:
[image]https://user-images.githubusercontent.com/31643597/64080894-6a120680-ccf9-11e9-8721-edde861e0533.png
Could you please reinstall your Pandas-Bokeh version to the current git master and try again ;).
Best Patrik
β You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/PatrikHlobil/Pandas-Bokeh/issues/39?email_source=notifications&email_token=AMTXRTZJI65ZSA4VUF6367DQHQEXRA5CNFSM4IMSCKG2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5UILRA#issuecomment-526943684, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AMTXRT22A46SHXE4Q5L2JRLQHQEXRANCNFSM4IMSCKGQ.
Hi @NRGPlus79 ,
This is a pretty good idea, thanks for sharing it π. I created a new issue #43 for this, maybe you want to work on it???
Best Patrik
Dear Patrik,
One quick question here: Say you produced a chart from a Pandas Dataframe. What would be the fastest way to update the source data for that chart without re-rendering the whole chart? Is there a way to access the source data like in any other Bokeh chart (like chart.data_source.data) and then update it? I tried in several ways but I could not find a workaround.
Many thanks again! Regards.
De: Patrik Hlobil notifications@github.com Enviado: viernes, 20 de septiembre de 2019 04:37 p. m. Para: PatrikHlobil/Pandas-Bokeh Pandas-Bokeh@noreply.github.com CC: NRGPlus79 rafael_guitart@hotmail.com; Mention mention@noreply.github.com Asunto: Re: [PatrikHlobil/Pandas-Bokeh] Attribute Error in DataFrames (#39)
Hi @NRGPlus79https://github.com/NRGPlus79 ,
This is a pretty good idea, thanks for sharing it π. I created a new issue #43https://github.com/PatrikHlobil/Pandas-Bokeh/issues/43 for this, maybe you want to work on it???
Best Patrik
β You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/PatrikHlobil/Pandas-Bokeh/issues/39?email_source=notifications&email_token=AMTXRTZC7F33J2WVOUKVK5DQKTU2PA5CNFSM4IMSCKG2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7HCT5Q#issuecomment-533604854, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AMTXRT5F7X3T2NY56GSP3XTQKTU2PANCNFSM4IMSCKGQ.
Hello,
I am currently running Numpy v1.15.4, Pandas v0.23.4, Pandas-Bokeh v0.3.1 and find the following error as I run the example code:
import numpy as np import pandas as pd
np.random.seed(42) df = pd.DataFrame({"Google": np.random.randn(1000)+0.2, "Apple": np.random.randn(1000)+0.17}, index=pd.date_range('1/1/2000', periods=1000)) df = df.cumsum() df = df + 50 df.plot_bokeh(kind="line")
AttributeError: 'FramePlotMethods' object has no attribute '_data'
Checking previous issues I saw this could have been fixed in the latest version, but maybe not yet? The above issue is not present in Series objects. Any help will be appreciated.
Many thanks for this useful package!