question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Make hvPlot tooltips useful in modern editors and IDEs

See original GitHub issue

Request

Make sure tooltips shown in modern Editors and IDEs like VS Code and PyCharm are available and useful.

Motivation

I’m trying to help a user of hvPlot here https://discourse.holoviz.org/t/linked-plot-is-exceedingly-slow/3966. I am a user of VS Code. Its just a very slow process helping the user because I need to search and read things on the hvPlot website instead of being able to stay in my editor.

The issue is that the tooltips shown by VS Code are either empty or not useful. My guess is that its because no one has ever considered to make sure the docstrings of hvPlot works in modern editors and IDEs.

The consequence is that hvPlot is much, much harder to learn and work with than it has to be for editor and IDE users.

For me personally the consequence is that it is hard to either introduce a colleague to hvPlot using their favorite tool or hand over existing code. If you just get a code base, you open it in your editor and IDE. And if you don’t know it, its key that you can get information and help immediately.

As hvPlot is recommended as the entry point for HoloViews and the rest of the Holoviz ecosystem it should be the most polished and easy to use framework. But in many ways its actually less polished than the rest of the ecosystem currently.

Examples

hvplot

hvplot has no tooltip

image

hvplot.pandas

hvplot.pandas has no tooltip

image

.hvplot

.hvplot has no tooltip

image

.hvplot.scatter

.hvplot.scatter has no tooltip.

image

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:13 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
MarcSkovMadsencommented, Jul 24, 2022

Regarding Matplotlib documentation. They have the advantage of huge user base and community. So they don’t need to get their documentation nearly as right as HoloViz do. Matplotlib is a standard and benchmark that people will spend the effort to learn just because its recommend and documented in many, many places. hvPlot and HoloViews is starting in a different place.

1reaction
MarcSkovMadsencommented, Jul 24, 2022

Thanks @maximlt . I agree with the above. I will try to make some example PRs to show what can be done, how and the value it creates.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Customization — hvPlot 0.8.2 documentation
The `scatter` plot is a good first way to plot data with non continuous axes. ... optional A color or a Field name...
Read more >
pyviz/pyviz - Gitter
This chat is for informal discussions and debugging sessions with developers of the HoloViz.org tools (HoloViews, Datashader, Panel, hvPlot, GeoViews, Param, ...
Read more >
Custom Interactivity — HoloViews v1.15.3
In this user guide we will extend the idea to so called linked Streams, ... supports the linked streams system but the principles...
Read more >
Configuring plot tools — Bokeh 2.4.3 Documentation
from bokeh.plotting import figure, output_file, show output_file("toolbar.html") # create a new plot with the toolbar below p = figure(width=400, ...
Read more >
HoloViz meetings - HackMD
[Maxime] Release hvPlot 0.8.2 with HoloViews pin to avoid Bokeh 3.0 to be pulled ... Demetris will make action points doc; Jim: Another...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found