Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 09:26
    philippjfr opened #1206
  • 09:26

    philippjfr on remove_escape_url_handling

    Removed escape workaround for p… (compare)

  • 09:19
    philippjfr commented #1205
  • 09:00
    Sieboldianus commented #454
  • 08:29
    Sieboldianus edited #454
  • 08:29
    Sieboldianus edited #454
  • 08:26
    philippjfr commented #1205
  • 07:45
    Sieboldianus edited #454
  • 07:45
    Sieboldianus edited #454
  • 07:42
    Sieboldianus edited #454
  • 07:40
    Sieboldianus opened #454
  • 07:38
    xavArtley commented #1070
  • 07:11
    HWiese1980 commented #3385
  • 03:43
    sdc50 commented #1205
  • 03:38
    sdc50 opened #1205
  • 00:51
    philippjfr commented #4348
  • 00:50
    philippjfr commented #4348
  • 00:50
    philippjfr commented #4348
  • 00:49
    ahuang11 commented #4348
  • 00:49
    ahuang11 commented #4348
deeplook
@deeplook
Thanks!
Bryan Van de Ven
@bryevdv

In python or ipython shell it does not throw errors but inside Jupyter it does

@lancelot1969 this 100% means that you have two environments, and you have different versions of bokeh in each

the one without jupyter is first on your PATH, so "python" and "ipython" see one version, but then explicitly running a notebook sees the other version in the env that has the notebook installed
have seen this more times now than I can count
lancelot1969
@lancelot1969
@bryevdv You are right. As a matter of fact when I am running ! bokeh info inside Jupyter BokehJS static path is in different environment
lancelot1969
@lancelot1969
But in the terminal everything looks fine besides bokeh in the base has different version
Bryan Van de Ven
@bryevdv
as I said you have two environments on your path, and the one with the jupyter executable is second
lancelot1969
@lancelot1969
Right
Probably best option will be to use my working enviroment.yaml and rebuild everything in new environment or something else?
Marc Skov Madsen
@MarcSkovMadsen
Have been experimenting a bit with a Theme Builder for Panel. Feel free to contribute your ideas and suggestions here https://github.com/holoviz/panel/pull/1157#issuecomment-605621772
color_palette.gif
theme_builder.gif
Jacob Barhak
@Jacob-Barhak
Hi @All , this is only partially related, yet I figured I ask for your online support. We joined a pandemic response hackathon and submitted a project: https://devpost.com/software/improved-disease-modeling-tools-for-populations . If we win the hacakthon and get support, it will help me push holoviz technologies that are used by products of this tool. You will really help us if you vote for us on the green button on the right of the project. And wish us luck. Apologies it I am misusing this channel, yet I think that it is for a good cause and I do use HoloViz technologies to show results created with this tool.
Philipp Rudiger
@philippjfr

@deeplook Yes, jupyter_bokeh is indeed needed if you want to embed a bokeh/panel/holoviews object in an ipywidget or deploy it in Voila. The way to do that is:

pn.ipywidget(hv_obj/bokeh_obj/panel_obj)

If you have trouble installing jupyter_bokeh I'd suggest opening an issue on the repo.
@Jacob-Barhak This channel is fine, posting an announcement on the Discourse may also be good
Jacob Barhak
@Jacob-Barhak
Thanks @philippjfr , please do vote for us. I do plan to introduce more of your tools, yet will need support - this may help.
Philipp Rudiger
@philippjfr
Done
Jacob Barhak
@Jacob-Barhak
Thanks, And @philippjfr , I was able to add some Holoviews. Here are the model results.
Do not get alarmed, its a worse case scenario, yet I can show it without this happening in real life - this is why simulations are good -to test things you never want to happen in real life.
Dr. Andreas Hopfgartner
@anderl80
Hi all, what is the latest working version combination using conda? I'm trying holoviews 1.13.0 right now but get an error cannot import MultiChoice
I need holoviews, geoviews and hvplot to plot df.hvplot.points(geo=True)
Philipp Rudiger
@philippjfr
I'd recommend HoloViews 1.13.1, Bokeh 2.0, GeoViews 1.8.0 and Panel 0.9.3

I'm trying holoviews 1.13.0 right now but get an error cannot import MultiChoice

I'm wondering how that's possible, Panel 0.9.x (which is where the error is coming from) pins bokeh 2.0.

Dr. Andreas Hopfgartner
@anderl80
I would love to do that but geoviews 1.8.0 is neither available usinig conda nor pip. I cannot install from github as no internet access on the HPC I'm computing on. (they have an internal artifactory for pip and conda main/forge)
James A. Bednar
@jbednar
Philipp Rudiger
@philippjfr
Oh that's no good!
Yep failed to build.
Fixing it now.
James A. Bednar
@jbednar
Thanks.
Philipp Rudiger
@philippjfr
Now fixed.
Philipp Rudiger
@philippjfr
Well conda build worked, still working on pip.
Maxime Liquet
@maximlt
Hi! I observe something strange in a notebook (Classic 6.0.3 and Lab 2.0.1) when I try to display a panel object in an output. What I usually do is somepanel.app() and that works fine. With the same line now I'm just getting <bokeh.server.server.Server at 0x1cb04d04a88> in the output and not the usual display of the app. Running somepanel.servable() did the trick although I didn't expect it! It behaved exactly as I expected .app() to behave. I'm posting that issue here in the first place as I wouldn't be surprised that things are wrong on my current install rather than in panel or bokeh. I've installed everything via the conda-forge channel, including: bokeh 2.0.0, holoviews 1.13.1, panel 0.9.3, param 1.9.3, pyviz_comms 0.7.4.
Philipp Rudiger
@philippjfr
I would generally recommend against using .app, in fact we are likely to deprecate it.
.app starts a bokeh server and embeds it in the notebook. For that to work you need to make sure you declare the current url the notebook is running on.
.servable() automatically detects whether you're running in a notebook or server context and displays it appropriately.
Maxime Liquet
@maximlt
Ok thx @philippjfr then I'll stick to .servable() from now on!
Philipp Rudiger
@philippjfr
@anderl80 I've released GeoViews 1.8.1 which is available using both pip and conda (pyviz and conda-forge channels) now.
James Simkins
@jsimkins2

Hello! What's the most efficient way to add a shapefile onto a hvplot.xarray plot? I've tried using both gv.Shape.from_records() and hvplot.pandas and both seem to halt interactivity after I launch a panel app. Is there a third way that I'm missing?

Here's some sample code of mine:

import panel as pn
import xarray as xr
import hvplot.xarray
import hvplot.pandas

shp = gpd.read_file("/Users/james/Downloads/cb_2018_us_county_500k/cb_2018_us_county_500k.shp")

ds = xr.open_dataset("http://basin.ceoe.udel.edu/thredds/dodsC/DEOSRefET.nc")
df = ds.refET[0]
df.hvplot.quadmesh(width=500, height=1000, x='longitude', y='latitude', project=True, geo=True,
             rasterize=True, dynamic=False) * shp.hvplot(geo=True, color=None)
Philipp Rudiger
@philippjfr
Would you mind posting that question to our discourse? https://discourse.holoviz.org/ That way the answer doesn't get lost.
James Simkins
@jsimkins2
Sure! Thanks!
Eliav S-T
@eliavst
I'm sure this is trivial, but I just can't seem to find it in the docs. I want to change the xlabel and tick/tick labels color from grey on my geoviews map using the .opts(). I managed to change the size using the fontsize dict, but can't figure out the right arg for color. I tried text_color but it didn't affect the labels and ticks.
.opts(height=250, width=340, fontsize={'labels': labels_fsize, 'xticks': tick_fsize, 'yticks': tick_fsize}
Dr. Andreas Hopfgartner
@anderl80
@philippjfr thanks! great!
Ryan Abernathey
@rabernat
Hi all--I just got a complex error that involves hvplot, datashader, numba, and dask. I raised an issue on hvplot but not sure if that was the right place: holoviz/hvplot#434
Posting here hoping it gets some attention.
James A. Bednar
@jbednar
Thanks. It's probably a Datashader issue. @philippjfr can you take a look?
onus tepolov
@blastoporeus_twitter
fyi, the interactive demo on here never passes the selection to the second plot like in the animated gif: http://holoviews.org/reference/streams/bokeh/Selection1D_points.html
Andrew
@IAteAnDrew1_twitter
Uncaught (in promise) Error: Model 'panel.models.state.State' does not exist. This could be due to a widget or a custom model not being registered before first usage trying to save a holomap with newest released versions of hvplot/holoviews/geoviews. saved it without error, but when I open it, it's empty with that console error. any ideas?
Andrew
@IAteAnDrew1_twitter
with matplotlib backend