Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • May 17 21:31
    jbednar commented #4916
  • May 17 21:30
    jbednar commented #4907
  • May 17 21:11
    neighthan commented #4861
  • May 17 20:51
    philippjfr labeled #4799
  • May 17 20:25

    philippjfr on master

    Global configuration to always … (compare)

  • May 17 20:25
    philippjfr closed #2306
  • May 17 20:25
    philippjfr closed #2295
  • May 17 20:25
    Hoxbro commented #2326
  • May 17 20:24
    philippjfr commented #2306
  • May 17 20:21
    philippjfr closed #2326
  • May 17 20:21
    philippjfr commented #2326
  • May 17 20:09
    philippjfr closed #4886
  • May 17 20:09
    philippjfr labeled #4887
  • May 17 20:08
    philippjfr opened #4934
  • May 17 20:08

    philippjfr on colormap_float_precision

    Ensure float precision issues d… (compare)

  • May 17 20:08
    Hoxbro opened #2326
  • May 17 19:57

    philippjfr on master

    Updated Dashboards user guide t… (compare)

  • May 17 19:57
    philippjfr closed #4907
  • May 17 19:57

    philippjfr on master

    Do not reverse colormaps with _… (compare)

  • May 17 19:57
    philippjfr closed #4931
epifanio
@epifanio
@philippjfr you meant datashader v0.12.1 , right?
Philipp Rudiger
@philippjfr
I did sorry
epifanio
@epifanio

no prob!
I checked the latest tagged releases to make sure the problem was on my side, so I ended up runing (on the running server):

 pip install geoviews==1.9.1
 pip install holoviews==1.14.2
 pip install param==1.10.0
 pip install datashader==0.12.1

and I saw the bug was no longer there .. bu this also messed-up my jupyter widgets .. hence a rebuild
Now I want to check if mamba is doing the right things otherwise I will try pip.

James A. Bednar
@jbednar
I don't keep knowledge of fixed bugs in my memory; always onwards and upwards! :-)
But I have noticed that I really had to force conda to update datashader to anything past 0.10 even specifying the pyviz channel, which may be why people are still running into this.
epifanio
@epifanio
I confirm that, mamba installed the older version - manually upgrading with pip fixes the problem
Michael Aye
@michaelaye
is using opts.defaults to set default for the whole notebook supposed to work for hvplot? If yes, I'll submit a new issue.
Michael Aye
@michaelaye
is this sentence in the hvplot docs potentially incomplete?
x_sampling/y_sampling (default=None):
    Declares a minimum sampling density beyond.
James A. Bednar
@jbednar

is using opts.defaults to set default for the whole notebook supposed to work for hvplot? If yes, I'll submit a new issue.

My guess is that opts.defaults would work only for options not processed as hvplot command-line arguments, except maybe for some that are just passed through. Basically, HoloViews's option system lets you use opts.defaults to set global defaults, but then those defaults get overridden by any values specified explicitly. Due to how hvPlot works, I would assume that it sets various options explicitly even when the user doesn't provide values, in part because hvPlot defaults need to match Pandas defaults, not HoloViews defaults. So no, I don't think hvPlot not being responsive to changes in opts.defaults counts as a bug.

And yes, that sentence is incomplete. The corresponding HoloViews docstring for x_sampling is "Specifies the smallest allowed sampling interval along the x axis.".
A PR to fix that sentence would be welcome!
Marc Skov Madsen
@MarcSkovMadsen
FYI. My talk "Awesome Analytics Apps Using HoloViz Panel" has been accepted for SciPy 2021. See you there?
Philipp Rudiger
@philippjfr
Congrats @MarcSkovMadsen thats awesome ;)
Marc Skov Madsen
@MarcSkovMadsen
image.png
I will be having a question on how a package can serve dynamically generated assets (js files transpiled by Transcrypt) without the need for the user to add a flag to serve folders.
and so that it works in the notebook as well.
James A. Bednar
@jbednar
Pretty cool! Maybe the logo could be more like this?
image.png
And I can generate a version of the Sketch bit with the same kerning as Panel, though I always have to remember how I do that.
James A. Bednar
@jbednar
Ah, I use Inkscape and tighten the inter-letter spacing:
image.png
Philipp Rudiger
@philippjfr
Mind joining us Jim? :laughing:
James A. Bednar
@jbednar
Is it that time already? Damn! :-)
Jean-Luc Stevens
@jlstevens
quite a nice logo imho!
Marc Skov Madsen
@MarcSkovMadsen
Thanks Jim
Michael Aye
@michaelaye

A PR to fix that sentence would be welcome!

Done! holoviz/hvplot#590

Marc Skov Madsen
@MarcSkovMadsen
Steve would like to write a blog post about HoloViz but has trouble providing a working example in colab. If any body could help it would be great https://discourse.holoviz.org/t/how-to-make-the-dashboards-example-work-on-google-colabs/2109/2
Marc Skov Madsen
@MarcSkovMadsen
Happy birthday @philippjfr
ea42gh
@ea42gh

I frequently find myself using hv.Spikes to plot a Fourier Spectrum, e.g., a statement like
hv.Spikes((n,abs(y)-y_min), "index", "abs_y").opts(logy=True,ylim=(y_min,1.01*y_max), position=y_min)

I am wondering if it might be advantageous to include an interpolation method None for hv.Curve that produces such a plot?

James A. Bednar
@jbednar
I would expect that None in that case would leave dots, not spikes. But sure, it could make sense to file a request to support a method of 'spikes".
Nestor Ghenzi
@nghenzi
image.png
1k stars !!! congrats !!!
Marc Skov Madsen
@MarcSkovMadsen
Congrats
Marc Skov Madsen
@MarcSkovMadsen
For a mindblowing use of Panel, HoloViews and not least Datashader check out the videos in https://github.com/holoviz/panel/pull/2174#issuecomment-821780345
Philipp Rudiger
@philippjfr
Yeah really incredible. I've seen more complex apps but none leveraging this many features.
Briac Malbois Le Borgne
@BriacMLB
Hi, I have an issue that seems to me like a bug but i'm not quite sure, is this the right place to seek help or should I use discourse ? Thanks !
James A. Bednar
@jbednar
If your gut tells you it's a bug, please file a github issue, but if you think it's probably a usage issue, open a Discourse topic.
Olivier ARCHER
@oarcher
Hi, I've got a javascript error when I import holoviews twice (from the notebook, and from a class): https://discourse.holoviz.org/t/using-repr-html-to-output-a-pretty-holoviews-output-to-custom-class/2146 .
I don't know if it's a bug or a misuse of the lib ...
Milind Sharma
@gewitterblitz
What's the easiest way to create a custom layout in holoviews while using datashader functionality?
Here's my code but it want to customize it by having only subplot in row1 covering two columns
import colorcet as cc

ltg_data = lma.get_active()  # returns a copy of the data, as a Pandas Dataframe
ltg_data = ltg_data[(ltg_data['alt'] <=20)]

points1 = hv.Points(ltg_data,kdims=['lon','alt'])
datashaded1 = hd.datashade(points1,cmap=cc.fire).redim.range(y=(0,20),x=(-87.6,-86.8))
plot1 = hd.dynspread(datashaded1, threshold=0.10, how='over').opts(height=300,width=600)

points2 = hv.Points(ltg_data,kdims=['lat','alt'])
datashaded2 = hd.datashade(points2,cmap=cc.fire).redim.range(y=(0,20),x=(-34,34.4))
plot2 = hd.dynspread(datashaded2, threshold=0.10, how='over').opts(height=300,width=600)

points3 = hv.Points(ltg_data,kdims=['time','alt'])
datashaded3 = hd.datashade(points3,cmap=cc.fire).redim.range(y=(0,20))
plot3 = hd.dynspread(datashaded3, threshold=0.10, how='over').opts(height=300,width=600)

points4 = hv.Points(ltg_data,kdims=['lon','lat'])
datashaded4 = hd.datashade(points4,cmap=cc.fire).redim.range(y=(-34,34.4),x=(-87.6,-86.8))
plot4 = hd.dynspread(datashaded4, threshold=0.10, how='over').opts(height=300,width=600)

hv.Layout([plot1,plot2,plot3,plot4]).cols(2)
Marc Skov Madsen
@MarcSkovMadsen
HI @gewitterblitz . Try posting the question on Discourse https://discourse.holoviz.org/. Looks like something that the community can help with and it will help build the knowledge base. Thanks.
Milind Sharma
@gewitterblitz
Thanks, @MarcSkovMadsen . I wasn't sure what's the right platform for asking questions.
James A. Bednar
@jbednar
See the top line of this page. :-)
Milind Sharma
@gewitterblitz
whoops!
James A. Bednar
@jbednar
:-)
Milind Sharma
@gewitterblitz
Thanks, @jbednar . I posted my question over there.