Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 17:45

    philippjfr on master

    Pin nbconvert in doc builds Bump panel.js version (compare)

  • 17:45

    philippjfr on v0.10.0a36

    Pin nbconvert in doc builds Bump panel.js version (compare)

  • 17:27

    philippjfr on golden_fixes

    (compare)

  • 17:27

    philippjfr on master

    Fix issues with GoldenTemplate … (compare)

  • 17:27
    philippjfr closed #1661
  • 17:26

    philippjfr on location_sync_serializer

    (compare)

  • 17:26

    philippjfr on master

    Use param serializer for synced… (compare)

  • 17:26
    philippjfr closed #1658
  • 17:15
    MarcSkovMadsen commented #1659
  • 17:14
    MarcSkovMadsen commented #1659
  • 17:12
    MarcSkovMadsen synchronize #1659
  • 16:51
    codecov[bot] commented #1658
  • 16:48
    codecov[bot] commented #1658
  • 16:28
    philippjfr commented #1662
  • 16:28
    philippjfr commented #1659
  • 16:26
    MarcSkovMadsen edited #1662
  • 16:26
    philippjfr synchronize #1661
  • 16:26

    philippjfr on golden_fixes

    Disable popout icons (compare)

  • 16:24
    MarcSkovMadsen opened #1662
  • 16:24
    MarcSkovMadsen labeled #1662
Michael Aye
@michaelaye
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?
Guy Sheffer
@guysoft
Hey all, I have this holoviews diagram, how do I add a title to it?
https://holoviews.org/reference/elements/bokeh/Sankey.html
And better still - is there a way to add a legend?
Guy Sheffer
@guysoft
Ok, title="title' works in the ops, not sure about the legend yet
Jean-Luc Stevens
@jlstevens
@michaelaye Where did you find that showcase link? Was it from google?
that is very old and I was sure it was removed/de-indexed...at any rate, it shouldn't be possible to land on that page anymore!
Michael Aye
@michaelaye

@michaelaye Where did you find that showcase link? Was it from google?

Google "holoviews tutorials" first hit is http://holoviews.org/Tutorials/ and Showcase is the first link on that page.

Philipp Rudiger
@philippjfr
How does that keep coming back!!! I swear I've manually deleted that a bunch of times.
Michael Aye
@michaelaye
you know what they say about things once on the internet... ;)
Thurston Sexton
@tbsexton
any idea why this isnt displaying in a panel?
import panel as pn
pn.extension(
    js_files={'textae': "http://textae.pubannotation.org/lib/textae.min.js"},
    css_files=["http://textae.pubannotation.org/lib/css/textae.min.css"]
)
pane = pn.panel("""
<link rel="stylesheet" href="http://textae.pubannotation.org/lib/css/textae.min.css" />
<script src="http://textae.pubannotation.org/lib/textae.min.js"></script>
<div class="textae-editor">
    {
        "text":"Hello World!",
        "denotations":[
            {"span":{"begin":0,"end":5},"obj":"Greet"},
            {"span":{"begin":6,"end":11},"obj":"Object"}
        ]
    }
</div>
""")

pane
xavArtley
@xavArtley
image.png
Thurston Sexton
@tbsexton
@xavArtley right, where it should load a textae editor interface (not show the raw pubannotation json)
Andrew Tolmie
@DancingQuanta
Hi, it have been a while since I last used holoviz. Recenlty I found myself faced with this huge number of repeated warnings in a fresh installation Calling the .opts method with options broken down by options group (i.e. separate plot, style and norm groups) is deprecated. Use the .options method converting to the simplified format instead or use hv.opts.apply_groups for backward compatibility.. My simple opts are plot = plot.opts(shared_axes=False).opts(opts.Curve(width=400)). Can anyone advise?
Philipp Rudiger
@philippjfr
@DancingQuanta Could you post to the Discourse with a more complete example and what versions you are using?
Michael Aye
@michaelaye
again facing no interactivity in JLab (v 2.1.4), while using the pyviz channel env and kernel. anything known about that or does it need an issue?
extension is installed
Michael Aye
@michaelaye
ok, i'm officially gobsmacked. Panel broke my life record for weirdest computing thing i have ever seen: https://www.youtube.com/watch?v=3up0YPSBIvA (Hint: the panel in the 2nd notebook, of the SAME byte-size, running the same kernel, in the same browser, doesnt update???) Please somebody explain this??
I am so baffled I made a youtube video out of it, as it's so easy on Kubuntu.. ;)
Michael Aye
@michaelaye
ok, i boiled it down to the notebook server keeping a state even after resetting and clearing the notebook. closing the notebook and re-opening it makes the behavior the same. meaning, the pane updates with the pyviz environment and it does not with a most up to date py37 env.
Marc Skov Madsen
@MarcSkovMadsen
Nicky Sandhu
@dwr-psandhu
Is there a way to limit the pan and wheel zoom to hard limits of axis ranges ? Currently all the examples allow arbitrary panning even to regions where there is no data. Is there a way to constrain this behavior ?
Philipp Rudiger
@philippjfr

ok, i boiled it down to the notebook server keeping a state even after resetting and clearing the notebook.

That's really odd, any idea what state that might be?

I did recently see it cache panel.js but no bokeh.js but that was only on the server, not in the notebook.
Michael Aye
@michaelaye
no clue, but i dont feel its a good state to be forced to close and reopen a notebook, think we need a clean "notebook reset button"
do you need a GH issue for the current libraries that break pane updates?
Philipp Rudiger
@philippjfr
Yeah, I'd like to look into this before I tag Panel 0.9.6 later today.
Michael Aye
@michaelaye
ok, will start one now
have another hvplot mystery...
image.png
this with the holoviz-tutorial env. my up-to-date py37 doesn't have these issues.
Michael Aye
@michaelaye
so I'm now in the pickle that my up-to-date env breaks panel, but the tutorial env breaks hvplot so I can't develop my app.
Michael Aye
@michaelaye
Philipp Rudiger
@philippjfr
Pin bokeh to <2.1 or wait for me to release panel 0.9.6 tonight.
Michael Aye
@michaelaye
thanks. Had to go to Bokeh 2.0.1, because 2.0.2 shows above hvplot bug
Another Holoviews design question: Shouldn't this autoscale so that it's visible?
hv.HLine(-10)
Michael Aye
@michaelaye
at the moment a default plot has limits (0, 1, 0, 1) but with nothing else to show, it's confusing that the line doesn't show automatically.
It's also not taken into account in an * overlay
Philipp Rudiger
@philippjfr
Yeah thats confusing but deliberate (not to say we can't change that). Annotations are not included in axis range calculations by default, only when you set apply_ranges on them explicitly.
So you're not seeing that hvplot bug with 2.0.1 but you are seeing it with 2.0.2? Can't even imagine what that might be.
Michael Aye
@michaelaye
yes. But it's not there with 2.1, fingers crossed!
Michael Aye
@michaelaye
interestingly, apply_ranges doesn't pad like the standard layouter does. Meaning, when the annotation is the outermost element, the plot limits are smack on it.
image.png
the black line at -18 is the annotation
Michael Aye
@michaelaye
and padding of the overlay ignores the annotation as well. is that a bug?
Michael Aye
@michaelaye
padding of HLine is ignored in general.