Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 09:19
    douglas-raillard-arm commented #5015
  • 09:19
    douglas-raillard-arm synchronize #5015
  • 09:14
    jlstevens commented #4962
  • 09:13
    jlstevens commented #4962
  • 09:13
    jlstevens commented #4962
  • 09:03
    douglas-raillard-arm commented #4962
  • Aug 04 23:36
    brunorpinho opened #2619
  • Aug 04 16:05
    mattpap commented #2618
  • Aug 04 15:32
    jbednar commented #2618
  • Aug 04 15:04
    MarcSkovMadsen commented #2617
  • Aug 04 15:02

    jlstevens on master

    Version 0.7.3 release notes (#6… (compare)

  • Aug 04 15:02
    jlstevens closed #644
  • Aug 04 15:02
    jlstevens commented #644
  • Aug 04 14:57
    mattpap commented #2618
  • Aug 04 14:46
    jbednar commented #2618
  • Aug 04 14:43
    jbednar edited #2618
  • Aug 04 14:43
    jbednar labeled #2618
  • Aug 04 14:43
    jbednar opened #2618
  • Aug 04 13:50
    philippjfr commented #2617
  • Aug 04 13:50
    philippjfr commented #2617
asmith26
@asmith26
Thanks for the information @philippjfr . Will do, appologies :)
Philipp Rudiger
@philippjfr
No worries at all, but more people look there and there will be a permanent record of the answer.
Rich Signell
@rsignell-usgs
Holoviz folks, should we be pinning xarray=0.16.2 or are we okay with the latest xarray=0.17.0 now?
Philipp Rudiger
@philippjfr
You should be okay.
Actually wait, only if you pull from the pyviz channel.
The pip build of datashader 0.12.1 failed, which also meant that conda-forge hasn't been updated.
@jbednar is out this week but I'll look at the pip build issues and maybe release it manually so we can get the conda-forge build out as well.
Philipp Rudiger
@philippjfr
Building now
Philipp Rudiger
@philippjfr
Built and uploaded the datashader 0.12.1 wheel, will update conda-forge when it's ready.
tjennings-cra
@tjennings-cra
Is there a downloadable version of the docs?
Rich Signell
@rsignell-usgs
Philipp I don't see 0.12.1 on conda-forge. Did something go wrong?
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