Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 11:19
    codecov[bot] commented #2433
  • 11:04
    philippjfr edited #2433
  • 11:02

    philippjfr on master

    Fix bug sorting and validating … (compare)

  • 11:02

    philippjfr on tabulator_validate_fix

    (compare)

  • 11:02
    philippjfr closed #2432
  • 11:02
    philippjfr closed #2430
  • 11:01
    philippjfr opened #2433
  • 11:00

    philippjfr on selectable_rowws

    Add ability to make only certai… (compare)

  • 10:46
    codecov[bot] commented #2432
  • 10:22
    codecov[bot] commented #2432
  • 10:19
    codecov[bot] commented #2432
  • 10:18
    codecov[bot] commented #2432
  • 10:16
    codecov[bot] commented #2432
  • 10:10
    codecov[bot] commented #2432
  • 10:06
    codecov[bot] commented #2432
  • 09:50
    philippjfr opened #2432
  • 09:50

    philippjfr on master

    Bump panel.js version (compare)

  • 09:49

    philippjfr on tabulator_validate_fix

    Bump panel.js version Fix bug sorting and validating … (compare)

  • 09:06
    philippjfr closed #2431
  • 09:06
    philippjfr commented #2431
Marc Skov Madsen
@MarcSkovMadsen
I am working on a Terminal for Panel. I am trying to send keyboard input from client to server. It's sent one character at the time. But sometimes the keyboard input repeats it self. Like when typing print("Hello World"). How do I trigger a .ts model to resend the value?
Right now it just results in print("Helo World")
image.png
I think I need something similar to param.trigger("value") but on .ts side.
Marc Skov Madsen
@MarcSkovMadsen
In Python I also need to be able to handle sending the same object from server to client. But there I just reset the object to "". But same trick does not seem to do it on .ts side.
image.png
epifanio
@epifanio
Hi, I am having troubles in getting the jupyter_bokeh extension working - the log in the js console are:
https://gist.github.com/epifanio/79dfd264f8976aeca53ad6636e9eb717
I am not sure if it is related, but this is coming up after a rebuild of my docker stack in which I switched to mamba for the installation of conda packages - I used the mambaforge installer as my python distribution
Philipp Rudiger
@philippjfr
Hi @epifanio. This isnt the right place to report this and we would need more details anyway. File a post on the bokeh discourse maybe.
epifanio
@epifanio
Hi @philippjfr, I thought discourse was used for "usage of the library" while this is probably a build issue with mixed dependency - I'll try to make a minimal environment, if the issue persist I will post it on github issue, thanks.
Marc Skov Madsen
@MarcSkovMadsen
Quite inspiraional package for data viz and EDA. Think i will try to test if it can be used in a Panel Context. https://github.com/lux-org/lux
gbonx
@gbonx
Hello, is it possible to display contour ticks values as on matplotlib?
As in following screenshot :
image.png
I would like to do the same with hvplot. Can anyone help me please?
Andrew
@ahuang11
I don't think it's possible quite yet
holoviz/holoviews#4494
unless you hack together .hvplot.contours + manually .hvplot.labels
gbonx
@gbonx
Ok thank you @ahuang11. I may try to do something with hvplot.labels. Otherwise integrating this option would be great for people like me who are colorblinds ^^
James A. Bednar
@jbednar
Seems like that should be possible with HoloViews with the Matplotlib backend, using a plotting hook if it's not currently exposed as an option. But doing it with Bokeh would require more work.
gbonx
@gbonx
Ok thank you @jbednar. I thought also about doing it with holoviews and matplotlib backend but it does not seems straightforward and we lose bokeh features.
Marc Skov Madsen
@MarcSkovMadsen
I am currently promoting Panel 0.11 on twitter and linkedin. Feel free to retweet or reshare if you like and think Panel could deserve some more attention.
Robin B
@code-inflation
Hi, I have an issue with bokeh. I would like to use it in a Jupyter notebook and load the JS using the output_notebook function.
However this needs access to a CDN. The documentation mentions, that you can use the resources parameter to set a custom location for the BokehJS. However I don't understand how I have to set that parameter. https://docs.bokeh.org/en/latest/docs/reference/io.html#bokeh.io.output_notebook
Has anyone used this or knows how it works?
Philipp Rudiger
@philippjfr
This room is for dev discussion of HoloViz tools. For bokeh questions refer to the bokeh discourse.
But from memory you import INLINE from bokeh.io.resources and pass that to output_noteboik
Robin B
@code-inflation
oh I see, thanks for the information
narner90
@narner90

Hi all, I'm attempting to use a value_format for datetime column in a holoviews table (bokeh backend) with the goal of showing nanoseconds rather than the default format of milliseconds. If this question is more appropriate for Github please let me know!

Here's a snippet of what I'm trying to do. Neither my format function or pprint_value in dimension.py are called:

    def datetime_format_function(x) -> str:
        return x.strftime('TEST: %s')

    time_dimension = hv.Dimension(('sending_time_dt', 'sending_time'),
                                  value_format=datetime_format_function,
                                  type=str)

    return hv.Table(data, kdims=[time_dimension], values=['x', 'y'])
narner90
@narner90
Additionally, if I change the DateFormatter in bokeh/tabular.py from '%Y-%m-%d %H:%M:%S.%3N' to '%Y-%m-%d %H:%M:%S.%9N', the displayed value shows 6 trailing 0's rather than the microseconds and nanoseconds, which I can confirm are present in the underlying data
James A. Bednar
@jbednar
As a usage question, that's more appropriate for https://discourse.holoviz.org/c/holoviews than for either here (dev chat) or github (specific bugs and feature requests).
Marc Skov Madsen
@MarcSkovMadsen
Most easy things to improve 1) More info about support options 2) Deployment guides
Marc Skov Madsen
@MarcSkovMadsen
Most difficult things to improve 1) The api - gets some feedback on being hard to learn.
Irv Lustig
@Dr-Irv
This issue holoviz/holoviews#4875 is being seen my me, but also a colleague at my firm, plus the other folks who posted about the issue. We can't render anything with holoviews using bokeh right now. Hope you can look into it.
James A. Bednar
@jbednar
Scary! @philippjfr ?
Philipp Rudiger
@philippjfr
The main problem is that I cannot reproduce under any conditions I've tried.
Irv Lustig
@Dr-Irv

@philippjfr I can reproduce as follows:

conda create -n hvtest0402 python=3.8
conda activate hvtest0402
conda install pandas holoviews
conda install jupyter
jupyter-notebook

Then I ran the file https://holoviews.org/user_guide/Applying_Customizations.html but changing the hv.extension call to only use bokeh and cannot get any visualization.

This is on Windows.

Hoxbro
@Hoxbro
Could recreate the problem with a clean install in WIndows. It seems to be related to packages in thedefaults channel if I run conda update --all -c pyviz -c conda-forge -y in the environment I could get it up and running. Though it creates another problem where I could not start a jupyter notebook, so I used jupyter lab instead of.
Philipp Rudiger
@philippjfr
Defaults doesn't yet have latest panel so that won't work.
epifanio
@epifanio
Hi, attemting to run the following example https://geoviews.org/user_guide/Resampling_Grids.html will trwo an errror: AttributeError: 'DataArray' object has no attribute '_file_obj'
James A. Bednar
@jbednar
That sounds like a bug report! Please file it at the geoviews github repository.
Thanks!
epifanio
@epifanio
yes, I was wondering of where to report - I will fill an issue with the version of sw I am using
James A. Bednar
@jbednar
Perfect.
Philipp Rudiger
@philippjfr
@jbednar You should have recognized that as the datashader bug that we fixed recently :)
So @epifanio just update to Datashader 0.11.1
Not even we, you fixed it 😉
epifanio
@epifanio
@philippjfr before filling the issue, I was attemting a rebuild making sure the packages are all installed with a single tool (mamba in my case) and double check I do not have any of the pyviz libraries installed via pip - I will wait the end of docker build and test it.
@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.