Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 12:06
    codecov[bot] commented #4062
  • 12:01
    codecov[bot] commented #4062
  • 12:00
    codecov[bot] commented #4062
  • 11:58
    codecov[bot] commented #4062
  • 11:44
    codecov[bot] commented #4062
  • 11:42
    codecov[bot] commented #4062
  • 11:36
    codecov[bot] commented #4062
  • 11:35
    codecov[bot] commented #4062
  • 11:26
    codecov[bot] commented #4062
  • 11:23
    anitagraser commented #5305
  • 11:19
    codecov[bot] commented #4062
  • 11:17
    codecov[bot] commented #4062
  • 11:09
    codecov[bot] commented #4079
  • 11:09
    codecov[bot] commented #4178
  • 11:07
    codecov[bot] commented #4079
  • 11:05
    codecov[bot] commented #4178
  • 10:59
    codecov[bot] commented #4079
  • 10:55
    codecov[bot] commented #4178
  • 10:53
    codecov[bot] commented #4178
  • 10:52
    codecov[bot] commented #4079
Marc Skov Madsen
@MarcSkovMadsen
:-)
Marc Skov Madsen
@MarcSkovMadsen
I have been thinking about Material vs Fast widgets. There are a lot of users on Material in general. But not on the MWC widgets in particular. It seems they are not that high a priority for Google. And if you look at the implementation of the web components (investigate the shadow dom on a page where they are used it looks very ugly and looks like just a wrapper around the existing js and css material design components. Not a simplified from the bottom up rewrite. That is very different from Fast. A lot of marketing has been put together and there is already a lot of people (thousands) signed up of their twitter account on their discord channel. The Fast components just seem simpler. And they also come with a very simple framework for writing web components. Something that could maybe also be wrapped in Python on day. And the light vs dark mode and change of style settings is just very, very simple and powerful. And they openly claim that their web components should implement the same attributes and properties as the "old" html elements and then just extend on top. Making it very, very easy to drop them in. This is the right way to do things.
Eventually I would hope to implement both one day as I believe they will both be major as time goes by.
And the fast specs describe a range slider :-)
bsdis
@bsdis
@MarcSkovMadsen you are talking about the FAST design system? https://fast.design
@MarcSkovMadsen sorry...im just jumping into the discussion like this... But wouldn't it be more neat to do a proper integration between panel/bokeh and react instead? That way you get a lot more power than if just integrating with a design system.
Marc Skov Madsen
@MarcSkovMadsen
Maybe. I would need to understand more detail @bsdis
Right now you need to wrap any js library whether vanilla js, web components, react, vua or angular into a Bokeh Model Extension to be able to use it in Panel.
So for each react component there would be some work. I have also look at Vuetify and Material UI. But so far I've not been able to find any nice and easy ways to incorporate it. It's one component at the time. And then you need to understand React as well.
Marc Skov Madsen
@MarcSkovMadsen
Web components are just so nice and easy to use in my opinion because the .js and .css of Bokeh, Panel and Jupyter never screws up these components.
FYI. Regarding Fast I've created some Feature Requests for "missing" components. See https://github.com/microsoft/fast/issues/created_by/MarcSkovMadsen
image.png
Marc Skov Madsen
@MarcSkovMadsen
@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.
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