Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

colorbar and colormapper is not changing when using slider and dropdown. #75

Open
mohana-kothuri opened this issue Jun 11, 2020 · 4 comments

Comments

@mohana-kothuri
Copy link

Hi,
I added dropdown for two different fields.When I plotted colormap of area it is working fine
waste1
But, when i plot total_sales colormap has no range of colors.It is because for dropdown it is taking min of all column values in list given. so,colorbar as well as colormap is not correct .
waste2

@PatrikHlobil
Copy link
Owner

Hi @manisekhar-kothuri,

Can you provide me the data and a code sample to reproduce the issue please.

Best Patrik

@mohana-kothuri
Copy link
Author

mohana-kothuri commented Jun 15, 2020

Thanks for your reply,

Think like I have a dataset with columns 'Total_sales(in millions)' with range(10 to 100), 'area_col(sqft)' with range(10000 to 100000) and built a dropdown on them. colormapper is taking low as 10 and high as 100000 in Pandas_Bokeh. Then colormap plotted using pandas_bokeh for 'Total_sales' will not be appropriate as above . So, it's better update colormapper function each time when dropdown or slider selection changes.

@PatrikHlobil
Copy link
Owner

Hi @manisekhar-kothuri ,

you are right here. I think it should have worked before. I will try to have a look at this. Thanks again for reporting.

best Patrik

@Ddasch
Copy link

Ddasch commented Jul 14, 2020

Hi,

I'm currently facing the same issue. Would be nice if this gets addressed as for me the main reason for using this package was so I can plot multiple quantities without having to remake the plot in between.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants