Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Dec 03 20:19
    philippjfr opened #5541
  • Dec 03 20:18

    philippjfr on interface_docstrings

    Add docstrings to Data Interfac… (compare)

  • Dec 03 20:01
    codecov-commenter commented #5527
  • Dec 03 19:45
    codecov-commenter commented #5527
  • Dec 03 19:22
    codecov-commenter commented #5540
  • Dec 03 19:19
    codecov-commenter commented #5527
  • Dec 03 19:19
    codecov-commenter commented #5540
  • Dec 03 19:15
    codecov-commenter commented #5522
  • Dec 03 19:12
    codecov-commenter commented #5522
  • Dec 03 19:09
    codecov-commenter commented #5540
  • Dec 03 19:08
    codecov-commenter commented #5540
  • Dec 03 19:07
    codecov-commenter commented #5527
  • Dec 03 19:07
    codecov-commenter commented #5522
  • Dec 03 19:07
    codecov-commenter commented #5522
  • Dec 03 19:03
    codecov-commenter commented #5540
  • Dec 03 18:56
    philippjfr commented #5531
  • Dec 03 18:51
    codecov-commenter commented #5527
  • Dec 03 18:51
    MarcSkovMadsen synchronize #997
  • Dec 03 18:51

    MarcSkovMadsen on hist

    fix .hvplot for ibis (#990) * … wip wip and 1 more (compare)

  • Dec 03 18:50
    codecov-commenter commented #5522
Marc Skov Madsen
@MarcSkovMadsen
image.png
@bsdis . Regarding the integration with React. You can integrate with React or Vue via Bokeh extensions. https://awesome-panel.readthedocs.io/en/latest/guides/awesome-panel-extensions-guide/bokeh-extensions.html. You can use anything you can use in Javascript/ Typescript. I've just not yet seen a lot of people looking to integrate React. I don't know of Panel developers or users that have these skills? There is one user who has a PR on adding the React Grid Layout though. See https://discourse.holoviz.org/t/react-with-panel/1001 and holoviz/panel#1535.
Marc Skov Madsen
@MarcSkovMadsen
But @bsdis I would really, really like to provide some documentation and examples for integrating React. If you know how to do it you are welcome to show me a small working POC. That is often what I need to get moving :-)
Another thing I would like to dive into one day is actually wrapping Lit-Element or Fast-Element into Python. I think that should be very possible and make it very easy to create fast and performant things that run in the front end but are defined in the back end using Python. See an example of a Fast-Element here. https://fast.design/docs/fast-element/leveraging-css
Marc Skov Madsen
@MarcSkovMadsen
For inspiration when developing Panel there is a Layout Guide for Shiny https://shiny.rstudio.com/articles/layout-guide.html. I can see some of the layout stuff I'm still missing from Panel is there. This includes a NavigationList. I've created an issue here holoviz/panel#1571
Eric Ma
@ericmjl
Just wondering if there's a guide that shows how to use DynamicMaps with custom Panel layouts? In particular, we have three components we need to scrub through, one is a video, the other two are timeseries plots for which we have a dynamic map VLine that shows us at which time step we're at. We want to put the video on the right, the timeseries plots on the left, and the scrubber at the bottom, while taking advantage of the syntactic ease and composability of using DynamicMaps. I put up a reprex here: https://gist.github.com/ericmjl/3d05c15339bd0cd26e07165b43035e7a, do you all have advice on how we can go about this?
James A. Bednar
@jbednar
This sounds like a good topic for https://discourse.holoviz.org/
Eric Ma
@ericmjl
Understood, thanks @jbednar!
Marc Skov Madsen
@MarcSkovMadsen

Question on naming conventions for alternative widgets in Panel. Should I add the name of the framework as a prefix to the widget class or just call them the same as in Panel?

For example: Button (Panel) vs MaterialButton, FastButton, WiredButton, SmartButton, UI5Button, ...?

or

For example: panel.widgets.Button, material.Button, fast.Button, wired.Button, smart.Button, ui5.Button, ...?

The reason for asking is that I would like to make it easy some day in the future to switch between the differents ones. For example if you are experimenting with the look and Feel. This includes trying out different frameworks as widgets parameter to pn.Param.

And I am asking now because renaming is just tedious later on :-)
James A. Bednar
@jbednar
My guess is to use the same name and put them in a separate package, if they are largely compatible and replacements for each other.
And then always refer to them as fast.Button, wired.Button, etc in examples and scripts if it matters what the button comes from, and refer to them (i.e. import them as) just Button if it doesn't matter.
Marc Skov Madsen
@MarcSkovMadsen
Thanks
sameerCoder
@sameerCoder
Hello Every1,
A Gentle Request.
Guys why we are facing so difficulties in making our dynamic plot embedded with flask with our own server.
I am not able to findout good resources to learn ,
How we can make our dynamic plot dynamic in nature when embedded with flask,
whereas it was very easy to see the dynamic property of plot when running the bokeh server.
I really appreciate for bokeh server but we want plot embedded with flask in our own server there we are facing difficulty .
we are not able to find the good resource to learn and do.
Thank you.
Nestor Ghenzi
@nghenzi
Rich Signell
@rsignell-usgs
@philippjfr any estimate when Holoviz 1.13.4 will arrive? https://github.com/holoviz/hvplot/issues/462#issuecomment-681076375
James A. Bednar
@jbednar
It's been "today" for about the past 10 days. :-)
Marc Skov Madsen
@MarcSkovMadsen
I've been trying to think about how to integrate icons with the Fast components I'm working on. I can either use the Bokeh AbstractIcon way of thinking or something lighter weight, lighter weight could be just provide a link to a SVG and width and height. I would like to check out the font-awesome implementation I know @philippjfr was working on for inspiration. But cannot find it. Any thoughts on how to support Icons in Panel? Any link to the font-awesome work?
Marc Skov Madsen
@MarcSkovMadsen
I've noted down my knowledge and thoughts on icons for Panel here holoviz/panel#1586
James A. Bednar
@jbednar
Not sure of the status.
Marc Skov Madsen
@MarcSkovMadsen
Thanks. I have seen it.
svg_icon.gif
I have something working. See holoviz/panel#1586 and bokeh/bokeh#10502
Marc Skov Madsen
@MarcSkovMadsen
There are some questions on a really awesome but complex use of Geoviews on Discourse that could need a little help. I think it could end up as a good reference example for Geoviews or Panel. Feel free to help out here https://discourse.holoviz.org/t/how-to-set-geoviews-map-extent-programmatically-in-panel-dashboard/1181/13.
Bas Nijholt
@basnijholt
Once again the holoviews widget broke on https://adaptive.readthedocs.io/
I should really start pinning those dependencies 😅

In the console I find:

Bokeh: ERROR: Unable to run BokehJS code because BokehJS library is missing

Bas Nijholt
@basnijholt
It worked still a few months ago with the release of 1.13
Bas Nijholt
@basnijholt
I fixed it with https://github.com/python-adaptive/adaptive/pull/291/files although I am not sure why these changes were suddenly needed.
Marc Skov Madsen
@MarcSkovMadsen
FYI. I've added support for icons to the awesome-panel-extensions package. Checkout the reference notebook here https://discourse.holoviz.org/t/awesome-panel-extensions-package-change-log/1009/21?u=marc
icon.gif
Marc Skov Madsen
@MarcSkovMadsen
Anyone who knows how to enable mp4 upload to the Discourse forum? See this request holoviz/panel#1593
Marc Skov Madsen
@MarcSkovMadsen
I don't know if you know this one. But their linked brushing and animations might be an inspiration https://dc-js.github.io/dc.js/
There is even an ipywidget https://github.com/washim/dcpy
Nauman Ahmad Khan
@naukh_twitter
hello guys your urgent help/support need and apperciated
i want to change /edit and access and data and value labels for each of subplots of hvplot and raised on https://discourse.holoviz.org/t/hvplot-subplot-groupby-add-data-and-value-label/1212 @MarcSkovMadsen @Material-Scientist @philippjfr
Philipp Rudiger
@philippjfr
@basnijholt Also not sure why it was needed, but I fixed it in Panel 0.10.0.
Nauman Ahmad Khan
@naukh_twitter
@naukh_twitter
hello guys your urgent help/support need and appreciated
i want to change /edit and access and data and value labels for each of subplots of hvplot and raised on https://discourse.holoviz.org/t/hvplot-subplot-groupby-add-data-and-value-label/1212 @MarcSkovMadsen @Material-Scientist @philippjfr
Philipp Rudiger
@philippjfr
Thanks, yeah I think that was never really handled. While GeoViews handles it by putting it in a -180 to 180 range, the datashader callback will see the range -180 to 180 and then filter the data (which is still defined as 0-360) and it'll disappear. So currently you have to manually adjust it to the -180 to 180 range.
Working on releasing GeoViews shortly btw.
Philipp Rudiger
@philippjfr
@rsignell-usgs Here's the hover fix: holoviz/geoviews#472
Rich Signell
@rsignell-usgs
Thanks on both @philippjfr !
Marc Skov Madsen
@MarcSkovMadsen
Checkout this awesome use of Panel here https://foxnic.github.io/projects.html. The static dashboards with code toggle button works really great. Something like that should be added to Panel as a Template or someone should write a blog post about how to do it.
(one day that is :-)
The repo for the "polished notebook with code button" is here https://github.com/csaid/polished_notebooks
Rich Signell
@rsignell-usgs
@philippjfr , any ETA on a new geoviews release?
James A. Bednar
@jbednar
Didn't that already happen? https://anaconda.org/pyviz/geoviews shows it was "one day and 5 hours ago".
sameerCoder
@sameerCoder

Hi,
I have plots which is in dictionary ,
I was using before holomap to have widgets for selecting particular numbered plot
but now since i am not using bokeh server i have to write my own callback function,
and i struggling in writing callback function,
Is there any easy way to write the callback function with slider or any option like holomap?

    allplot = {(k.strftime("%Y-%m-%d %H:%M:%S"), r): plotthis(k, r) for k in
               perdelta(strt, strt + timedelta(days=2), timedelta(hours=18)) for r in
               ['Odisha', 'Andra_Pradesh', 'Whole_East_Coast', 'Tamil_Nadu']}
tiles = gv.tile_sources.Wikipedia
 hmap1 = hv.HoloMap(allplot, kdims=['Select D :', 'Select State'])

    #dd = df_div.opts(width=70, height=70)
    finalplot = pn.Column( tiles * rasterize(hmap1).options(**opts) .opts(hooks=[absolute_position],apply_ranges=False))

just little help ,
Thank u