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

Make interactive datashading work #33

Closed
wants to merge 1 commit into from
Closed

Conversation

weiji14
Copy link
Owner

@weiji14 weiji14 commented May 24, 2020

A work in progress 🚧 on migrating a whole bunch of PyViz dependencies (from pypi to conda-forge), in an attempt to resolve issues with interactivity.

The hvplot->holoviews->bokeh stack, intermingled with datashader, and geoviews, xrviz et al isn't playing nicely together when pip installed. Like, they sneakily install fine, but the interactive plotting (which is what they're there for!) isn't working as expected.

This pull request/branch may or may not get merged into master, it's here to keep a record on what I've wasted a weekend on ☹️

Continuation of #31.

Test this branch on Pangeo Binder using Binder.

References:

A work in progress on migrating a whole bunch of PyViz dependencies (from pypi to conda-forge), in an attempt to resolve issues with interactivity. The hvplot->holoviews->bokeh stack, intermingled with datashader, and geoviews, xrviz et al isn't playing nicely together when pip installed. Like, they sneakily install fine, but the interactive plotting (which is what they're there for!) isn't working as expected. Also unpinned pyproj, toolz and tqdm as they're installed in conda already, trying to reduce deduplication still.
@weiji14 weiji14 added bug 🪲 Something isn't working dependencies Pull requests that update a dependency file labels May 24, 2020
@weiji14
Copy link
Owner Author

weiji14 commented Jun 19, 2020

Somewhat resolved with #79, #91, #94 and #95? No idea which one did it, but the interactivity works now (i.e. zooming in a scatter plot will update the points).

However plots don't show up sometimes, i.e. when wanting to color points by c="h_corr", unless datashading is on, but then we lose hover over functionality. Will keep this open for now.

@weiji14
Copy link
Owner Author

weiji14 commented Jun 24, 2020

Have merged in a series of PyViz dependency updates to #99 at 984ac89, and the interactive stuff seems to work properly now! Here's a Peek:

Interactive HvPlot of Whillans Ice Stream dhdt

@weiji14 weiji14 closed this Jun 24, 2020
@weiji14 weiji14 deleted the conda_plot_deps branch July 16, 2020 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🪲 Something isn't working dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant