by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 01:09
    aboutyy commented #1527
  • Aug 12 23:14
    philippjfr synchronize #948
  • Aug 12 23:14

    philippjfr on ci_fixes

    Try specifying numba pinning ex… (compare)

  • Aug 12 21:25
    philippjfr commented #1509
  • Aug 12 21:19
    philippjfr commented #1513
  • Aug 12 21:08
    philippjfr synchronize #948
  • Aug 12 21:08

    philippjfr on ci_fixes

    Try specifying numba pinning ex… (compare)

  • Aug 12 19:30
    jonmmease commented #4534
  • Aug 12 18:58
    philippjfr synchronize #948
  • Aug 12 18:58

    philippjfr on ci_fixes

    Try specifying numba pinning ex… (compare)

  • Aug 12 18:36
    philippjfr synchronize #948
  • Aug 12 18:36

    philippjfr on ci_fixes

    Try specifying numba pinning ex… (compare)

  • Aug 12 17:34
    philippjfr synchronize #948
  • Aug 12 17:34

    philippjfr on ci_fixes

    Try specifying numba pinning ex… (compare)

  • Aug 12 17:05
    jonmmease synchronize #4534
  • Aug 12 17:05

    jonmmease on positional_stream_args

    Add new Derived stream class (#… Merge branch 'master' into posi… (compare)

  • Aug 12 17:02
    philippjfr synchronize #948
  • Aug 12 17:02

    philippjfr on ci_fixes

    Try specifying numba pinning ex… (compare)

  • Aug 12 16:48
    philippjfr synchronize #948
  • Aug 12 16:48

    philippjfr on ci_fixes

    Try specifying numba pinning ex… (compare)

Brian Pollack
@pollackscience
I get an error: ValueError: clim: tuple element is not numeric: <param.Number object at 0x7f425a624bb0>.
Philipp Rudiger
@philippjfr
This should work, but questions like are definitely better for Discourse so the answer doesn't disappear.
@pn.depends(slider)
def  clim(value):
    return (-1, value)
hv_img.apply.opts(clim=clim)
Brian Pollack
@pollackscience
whoops, didn't see the discourse link, thanks @philippjfr !
sameerCoder
@sameerCoder

Hi All,
I will very thankful to you and appreciate your help.
script1, div1 = components(finalplot.get_root())
Here get_root() is use to get the parent document but do i need to use curdoc() to get the current plot in flask as my plot is dynamic with dropdown option .

# not working 
script1,div1=components(finalplot.curdoc())

which function i shoud call to get current document , so that when i change bokeh lot in embedded flask app then it should reflect in webpage also.

sameerCoder
@sameerCoder
how to use
on_change(*callbacks)
so that i can get current document on changing my plot dynamically in embedded flask app
Philipp Rudiger
@philippjfr
from bokeh.io import curdoc
doc = curdoc()
script1,div1=components(finalplot.get_root(doc))
sameerCoder
@sameerCoder

Thanks for quick reply @philippjfr
but its not working ,
can i do curdoc() by making standalone HTML files

from bokeh.io import curdoc
 doc=curdoc()
 # finalplot=finalplot.get_root(doc)
 #
 return Markup(file_html(finalplot.get_root(doc),CDN,"myplot"))
if __name__=='__main__':
 app.run(debug=True)

it giving static plot , no zoom function , nothing.

sameerCoder
@sameerCoder

2- by using component method no error is coming same time no plot is showing in webpage ,
i am using
from bokeh.resources import CDN
so there is no mismatch of bokeh cdn version but still no plot showing.

from bokeh.io import curdoc
doc = curdoc()
script, div = components(finalplot.get_root(doc))
cdn_js = CDN.js_files[1]
cdn_css=CDN.css_files
return render_template("plot.html",
 script=script,
 div=div,
 cdn_css=cdn_css,
 cdn_js=cdn_js)
#

plot.html

{%extends "layout.html"%}
{%block content%}
<link rel="stylesheet" href={{cdn_css | safe}} type="text/css" />
<script type="text/javascript" src={{cdn_js | safe}}></script>

<div class="about">
 <h1>My about page</h1>
 <p>This is a test website again</p>
</div>
{{script1 | safe}}
{{div1 | safe}}
{%endblock%}

My about page is showing , no error while plotting but plot is not showing in web page :(
sorry for lengthy .
I will really grateful if u guide me on this .
Thank you.

Philipp Rudiger
@philippjfr
@sameerCoder Please post to the Discourse, this channel is not a support forum.
sameerCoder
@sameerCoder
sorry @philippjfr
Philipp Rudiger
@philippjfr
No problem at all. It's just that questions asked here are bound to come up again and it's not scalable for me to answer them over and over again.
Michael Aye
@michaelaye
there seems to be a dead image link in https://holoviews.org/user_guide/Gridded_Datasets.html
for the grid types
Michael Aye
@michaelaye
reason is something with https vs https in the URL
sameerCoder
@sameerCoder
@philippjfr
As suggested i had posted the question in Discourse ,
if u have time please look after it .
Thank you.
https://discourse.bokeh.org/t/bokeh-embedded-plot-not-showing-with-no-error/5591/13
when bokeh is embedded in flask it act as static :(
Michael Aye
@michaelaye
interesting side note: adding the pyviz labextension to a running server makes panel display show, but dynamic update doesn't work until restart and reset of lab server.
Marc Skov Madsen
@MarcSkovMadsen
I'm to give a course using the HoloViz tutorial tomorrow Tuesday and the 05_Composing_Plots.ipynb is raising a ValueError: Index is not contained within new index. I've reported the issue here holoviz/holoviz#256. If some of you know a fix or workaround so that my course can get past this example it would be much appreciated. Thanks.
image.png
Marc Skov Madsen
@MarcSkovMadsen
After some experimentation i discovered that I could change 1M to 1W.
image.png
Andrew
@IAteAnDrew1_twitter
maybe 1MS works
Michael Aye
@michaelaye
I have reported holoviz/holoviews#4449 and was wondering if there's a workaround where I could force the marker size to grow? It's currently hampering my work not being able to see a bigger marker when annotating images...
Jacob Barhak
@Jacob-Barhak
To the Austin locals, is there a way I can solicit a demo from you for the evening of python coding about GeoViews or HvPlot? We have not shown those libraries in the meetup? James and Jean-Luc helped in the past and gave a demo. I was hoping someone else can give a short demo . The meetups are online these days with small crowds. I have one more spot for the evening of python coding where we expect a short demo that we place on Github. However, if you are about to publish a large release and have a lot to show, I will be happy if someone gives a presentation in July in the Monthly python meetup - it is also online these days and attracts a bit more attention. You can find past demos here You can also find some recent videos here . Hopefully someone can help.
James A. Bednar
@jbednar
Sure, I can demo hvPlot, and mention briefly that it can use GeoViews for handling geo data.
Bas Nijholt
@basnijholt
image.png
Has anyone experienced this before? All the plots are cut off too small...
Jacob Barhak
@Jacob-Barhak
Great @jbednar , You are great speaker - I will put you on the list. And I know its kind of your job to expose the projects, yet I was thinking if someone else can present. Part of the reason we are doing this is so that people will get the opportunity to present. The Evening of python coding typically shows small demos that are easy to assemble by the community. I am currently short of a speaker fro the end of year lineup, so I will place you on the list, yet I was hoping someone who had not presented before will step up. And by the way, if you have a big release scheduled around July that you want more exposure for, the monthly python meetup in July is currently not filled, so you can take this opportunity instead of a short demo. In any case, thanks for supporting this.
Philipp Rudiger
@philippjfr
@basnijholt Never seen that, post a question on Discourse maybe.
James A. Bednar
@jbednar
@Jacob-Barhak , I'm the only one on the team left in Austin apart from a new employee just finding his feet, so if it should be someone local, it's me! The rest are all in Europe. Just send me details privately for whatever you have in mind, and I'll keep the idea of having a junior person fill in if we have someone suitable at that point...
Jacob Barhak
@Jacob-Barhak
Thanks @jbednar , since meetups are online now, it is possible to have someone international, even if it is a local meetup - only the time is an issue since 7pm CDT is like 2am in Europe - not really a good time. I will contact you privately regardless.
Mohamed_ABDOUNI
@ABDOUNI-Mohamed
ImportError: cannot import name 'encode_utf8' from 'bokeh.util.string' (C:\ProgramData\Anaconda3\lib\site-packages\bokeh\util\string.py)
I have This error when I have tried to import panel, any help?
John S Bogaardt
@jbogaardt
Hi there. I have a panel object with many many many pn.Tab elements. By using dynamic=True, I can get the panel object to display very quickly (under 2 seconds). Each tab has reasonable responsiveness too. However, construction of the panel object takes more than 30 seconds. That's a cumbersome startup time for each person that visits my panel app. Is it possible to serialize/deserialize the panel object to pickle for faster loading? Or is there an alterative way to pre-construct the object and only render it when someone uses the app?
Marc Skov Madsen
@MarcSkovMadsen
Hi @ABDOUNI-Mohamed . The right place to post bugs is on Github. Please try posting it there github https://github.com/holoviz/panel. Thanks.

Hi @jbogaardt . The right place to post usage questions is on Discourse. Then the answer is recorded and shared with the community. Please post it here https://discourse.holoviz.org/.

If possible please post a minimal example or a link to code that can be run. Potentially also include some screenshots or a .gif video. It is sometimes very difficult sitting on the other side and trying to guess what the problem can be and how to solve it.

Thanks.

Marc Skov Madsen
@MarcSkovMadsen
est987
@est987
I am trying to figure out how to change widgets' font family The only thing I managed to found was holoviz/panel#773, but it did not seem to work. (perhaps because i was trying on RadioButtonGroups and using wrong tag?) Any suggestions?
Philipp Rudiger
@philippjfr
@est987 This channel is for developer discussions, please post to the Discourse here: https://discourse.holoviz.org/
est987
@est987
Thanks
Andrew
@IAteAnDrew1_twitter
image.png
I'm creating a holomap; is it expected that the time per frame increases per iteration?
James A. Bednar
@jbednar
A holomap is just a dictionary, really, and adding one more item to a dictionary should normally be a constant cost. Maybe make a runnable example and put it in a discourse post to let us evaluate?
Michael Aye
@michaelaye
is the showcase page meant to show interactive plots in any browser or only when downloading the notebook? The interactive ones dont show up in Brave/Chromium.
image.png
James A. Bednar
@jbednar
There should definitely never be an empty plot, but in that case it's because there is no Showcase page any more ; that's some ancient stub of a page that 's not linked in anywhere as far as I know. I'll ping Jean-Luc about that...
Michael Aye
@michaelaye
yeah i found that by googling holoviews tutorial ;)
Marc Skov Madsen
@MarcSkovMadsen
I was thinking about experimenting a little bit with creating a hvplot designer app. I believe I have seen something like that before. An App where you could design your plot colors and other options using drop downs etc. Any body remember where?
(Would like to avoid reinventing the wheel if possible).
Marc Skov Madsen
@MarcSkovMadsen
Just for inspiration @jbednar and @philippjfr . Shiny has a solution called ShinyProxy https://www.shinyproxy.io/ that enables easily (?) creating an enterprise ready app from a shiny app. This can also be extended to other frameworks like Streamlit https://github.com/leungi/shinyproxy-streamlit or Panel. Maybe something to describe in the deployment options for Panel?