cal-adapt / climakitae

A Python toolkit for retrieving, visualizing, and performing scientific analyses with data from the Cal-Adapt Analytics Engine.
https://climakitae.readthedocs.io
BSD 3-Clause "New" or "Revised" License
21 stars 2 forks source link

Adding Multiselect Functionality in Panel Location Selection #276

Closed claalmve closed 1 year ago

claalmve commented 1 year ago

Added multi-select functionality in location selection. Visually demonstrates regions highlighted and allows for exports with multiple geometries.

Here is what the layout looks like:

Panel view: Screenshot 2023-08-22 at 4 20 53 PM

Loader view Screenshot 2023-08-22 at 4 23 58 PM

thenaomig commented 1 year ago

Looks all good to me :)

claalmve commented 1 year ago

Warming levels works great, as does AMY.

Before this gets merged, can we modify the title of the AMY heatmap so that the area selection is not in a list of strings? This looks especially funny when multiple selections are chosen, and depending on the length of those strings, it does get cut off in the title (example below) bokeh_plot

Yes! I can list them out in written form, and have them indent so they don't run off of the panel screen. But I should have them all listed out, right?

vicford commented 1 year ago

Warming levels works great, as does AMY. Before this gets merged, can we modify the title of the AMY heatmap so that the area selection is not in a list of strings? This looks especially funny when multiple selections are chosen, and depending on the length of those strings, it does get cut off in the title (example below) bokeh_plot

Yes! I can list them out in written form, and have them indent so they don't run off of the panel screen. But I should have them all listed out, right?

Yes, that would be great! Sort of like text wrapping if it gets too long etc. And yes to having them all listed out, if not too awkward looking (I can't imagine many people would select a lot of locations) just so we are always explicit about it!