Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Aug 02 18:05
    philippjfr opened #5051
  • Aug 02 18:04

    philippjfr on cuspatial_lasso

    Implement linked selection lass… (compare)

  • Aug 02 17:42
    philippjfr labeled #2599
  • Aug 02 17:42
    philippjfr unlabeled #2599
  • Aug 02 17:42
    philippjfr labeled #2598
  • Aug 02 17:42
    philippjfr unlabeled #2598
  • Aug 02 17:39
    philippjfr commented #2593
  • Aug 02 17:27
    philippjfr opened #1016
  • Aug 02 17:26

    philippjfr on cuda_interp

    Use cupy.interp when available (compare)

  • Aug 02 17:18
    MarcSkovMadsen commented #2593
  • Aug 02 17:17
    mattpap commented #2593
  • Aug 02 17:14
    MarcSkovMadsen commented #2593
  • Aug 02 17:02
    MarcSkovMadsen commented #2593
  • Aug 02 17:00
    MarcSkovMadsen commented #2593
  • Aug 02 16:56
    MarcSkovMadsen commented #2593
  • Aug 02 16:30
    MarcSkovMadsen commented #2593
  • Aug 02 16:29
    MarcSkovMadsen commented #2593
  • Aug 02 16:28
    MarcSkovMadsen commented #2593
  • Aug 02 16:21
    MarcSkovMadsen commented #2593
  • Aug 02 16:21
    MarcSkovMadsen commented #2593
Marc Skov Madsen
@MarcSkovMadsen
Regarding chart.js I am very interested in that as well. Its a really nice library if you want to "show off" simple charts as I see it. What is your use case @Hoxbro ?
And @Hoxbro take a look at the implementation of ECharts. That will probably be quite similar.
Marc Skov Madsen
@MarcSkovMadsen
Another useful thing @Hoxbro is the developer guide https://panel.holoviz.org/developer_guide/index.html. Especially the section on Developing Custom Models and bundling resources https://panel.holoviz.org/developer_guide/index.html#developing-custom-models
Marc Skov Madsen
@MarcSkovMadsen
@Hoxbro . I've started a new branch chartjs locally on my laptop. I intend to ASAP write a small notebook on how to get started adding a new custom model to Panel with chartjs as an example. That should give you a starting point and a very, minimal custom model to start from.
Marc Skov Madsen
@MarcSkovMadsen
ChartJS branch has been pushed holoviz/panel#2081
I intend to take one more step. That is to refactor into something that can show a minimal ChartJS example on the server. But if you start working on that @Hoxbro before me please let me know. Thanks.
Hoxbro
@Hoxbro
Thanks Marc! The reason for trying to choosing chart.js is that it was marked as a good first issue on Github. I was playing around with the implementation of echarts but without any success.
lancelot1969
@lancelot1969
How you can change font color on dashboards so you can see them in Jupyter Lab dark scheme ?
asmith26
@asmith26
Hi there, I'm trying to visualize a HGT file (i.e. a Shuttle Radar Topography Mission or SRTM data file, https://dwtkns.com/srtm30m/)
I'm able to read it in with xarray.open_rasterio, but when I try data.sel(band=1).hvplot.image(x="x", y="y", z="band") I get ValueError: cannot convert float NaN to integer
asmith26
@asmith26
I've also tried removing the .sel(band=1) with no joy. Just wondering if anyone else has worked with this data and hvplot?
Philipp Rudiger
@philippjfr
Hi @asmith26! Could you file a topic on the Discourse? This channel is now primarily reserved for developer discussion.
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.