coiled / examples

Examples using Dask and Coiled
14 stars 3 forks source link

Add datashader example #1

Closed ncclementi closed 1 year ago

ncclementi commented 1 year ago
mrocklin commented 1 year ago

I've cleaned things up a little and (force) pushed. This isn't doing interactive rendering for me just yet though. Was that working for you? Any thoughts?

ncclementi commented 1 year ago

Yes it was doing it perfectly, with no problem. I tried it even before pushing it.

mrocklin commented 1 year ago

Can I ask you to try with this one? I'm curious if this is an environment issue.

ncclementi commented 1 year ago

Just making sure: did you click on the magnifier symbol on the right.? With my environment, I was able to run your updated notebook and it interacts Kapture 2023-04-07 at 13 50 51

mrocklin commented 1 year ago

I removed some things from the environment, like JLab. Are you running with that environment file or with the previous one that you made?

ncclementi commented 1 year ago

I'm running it with the one I had, were the only difference is Jlab and dask-lab-extension. Not sure why removing JLab from the env when you need it to launch the notebook

name: datashader-demo
channels:
  - conda-forge
dependencies:
  - python==3.10
  - dask
  - coiled
  - pyarrow
  - ipykernel
  - dask-labextension==6.1.0
  - jupyterlab
  - s3fs
  - datashader
  - holoviews
  - hvplot
mrocklin commented 1 year ago

Not sure why removing JLab from the env when you need it to launch the notebook

I'm running JupyterLab from my base environment, and using the kernel switcher to select different kernels. This is useful, for example, if I'm running different notebooks with different environments (such as datashader kind of forces us to do). I would prefer not to have multiple notebook servers running (although that's ok too).

Maybe this helps a little bit with package sync times too.

ncclementi commented 1 year ago

Nat, Gabe, James, among other folks, tested the times of spinning up a cluster with and without JLab and there was pretty much no impact, I wouldn't worry about that.

mrocklin commented 1 year ago

OK, I can get this to run, but only if we run JupyterLab from the exact same environment. This doesn't seem to work if we're using ipykernel . Merging anyway.

review-notebook-app[bot] commented 1 year ago

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB