Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 15:37
    philippjfr labeled #2420
  • 14:26
    sdc50 opened #2420
  • 13:57
    sdc50 opened #2419
  • 10:59
    philippjfr demilestoned #2408
  • 10:59
    philippjfr milestoned #2408
  • 10:58
    philippjfr milestoned #804
  • 10:58
    philippjfr closed #2408
  • 10:57

    philippjfr on master

    Added basic description and exa… (compare)

  • 10:57
    philippjfr closed #2412
  • 10:57

    philippjfr on 804_plotly_tabs_interactivity

    (compare)

  • 10:57

    philippjfr on master

    Ensure Plotly interactivity wor… (compare)

  • 10:57
    philippjfr closed #2418
  • 10:57
    philippjfr closed #804
  • 10:50

    philippjfr on master

    fix vertical scrollbar in fast … (compare)

  • 10:50

    philippjfr on fast-overflow-x

    (compare)

  • 10:50
    philippjfr closed #2417
  • 10:50
    philippjfr closed #2416
  • 10:48
    douglas-raillard-arm commented #4988
  • 10:47
    codecov[bot] commented #2418
  • 10:46
    codecov[bot] commented #2418
Dhruv Balwada
@dhruvbalwada
pyviz-example's readme leads me to this binder page: https://mybinder.org/v2/gh/pyviz-topics/examples/master . Is this still being tested or meant to be operational for users? Specifically, the data for nyc-taxi is not there.
James A. Bednar
@jbednar
I don't think that was ever quite finished, and indeed I have no idea how it was meant to fetch the data needed for any example nor how it would handle the packages that are specific to each example; it just looks like it gives a single shared environment and some notebooks that won't really run in it. I think nowadays we might be able to adapt jupyter-panel-proxy so that it does anaconda-project run separately for each example, which would deal with both problems, but someone would have to set that up. In the absence of a volunteer to do that, which would be really helpful but seems like a good bit of work, we should probably remove the mention of the binder environment.
@tjennings-cra , each HoloViz project provides its docs as runnable Jupyter notebooks. These are generally available if you run <projectname> examples from the commandline, e.g. datashader examples, which will copy the notebooks and fetch the data and let you run them all locally.
Dhruv Balwada
@dhruvbalwada
Thanks
Dhruv Balwada
@dhruvbalwada
I am also trying to work through the user guide for pyviz examples. Since some elements are not working for me, I am trying to understand what is errors on my side and what are issues with the examples.
1) If I run anaconda-project run from the project folder, then it should eventually start a bokeh server with the running dashboard - right? In this way I should not be able to modify to the code to see what individual bits do.
2) If I want to be able to play with the code, then I need to follow the second approach of installing my own conda env using the anaconda-project.yml file, right?
James A. Bednar
@jbednar
Each anaconda-project.yml file provides several pre-defined commands under the heading "commands", typically including "dashboard" and "notebook" . You can then do anaconda-project run notebook to install or update the environment as needed then launch the notebook where you can edit whatever you like. Some projects have multiple notebooks, and you can either look at the .yml to see what's available, or do anaconda-project run jupyter notebook and select the one you want. Or you can do anaconda-project prepare to build the environment, then activate it as your current environment with conda activate envs/default in that directory, and then do any command (e.g. jupyter notebook). If any of this is not clear in the docs and you think it would be helpful, please open a pull request to update the docs appropriately. Thanks!
Dhruv Balwada
@dhruvbalwada
Thanks. I am trying to do that pull request now. The user guide just describes that anaconda-project run should be executed. Does that always run the dashboard? or does it run the first command in the list ?
James A. Bednar
@jbednar
Runs the first command in the list. If there's only one, that's all you need, but otherwise need to know what to run.
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