Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NetworkX Hover Tooltips Not Working Since 0.11.0 #1437

Closed
Palmr opened this issue Oct 11, 2024 · 2 comments · Fixed by #1439
Closed

NetworkX Hover Tooltips Not Working Since 0.11.0 #1437

Palmr opened this issue Oct 11, 2024 · 2 comments · Fixed by #1439
Labels
type: bug Something isn't working
Milestone

Comments

@Palmr
Copy link
Contributor

Palmr commented Oct 11, 2024

ALL software version info

Software Version Info
hvplot=0.11.0

Python 3.10.14
Jupyter Lab 4.2.5

Description of expected behavior and the observed behavior

I expected the hover tool to show node (or edge if inspection_policy='edges') attributes.

Instead it shows the list of attributes by name, but the value is always the string @{{dimension_sanitizer(name)}}

This can be seen on the hvplot NetworkX page when hovering a node on any graphs: https://hvplot.holoviz.org/user_guide/NetworkX.html

I'm fairly sure this is down to this
a56c997#diff-7b2c154f4174f90a12e76d0fdb8fe4cf66c4fe743844fe9b7050a568bc501f8eL335

Complete, minimal, self-contained example code that reproduces the issue

import hvplot.networkx as hvnx
import networkx as nx

hvnx.draw(nx.petersen_graph())
@hoxbro
Copy link
Member

hoxbro commented Oct 11, 2024

You are right. Are you up for submitting a PR to fix it?

@hoxbro hoxbro added this to the 0.11.1 milestone Oct 11, 2024
@hoxbro hoxbro added the type: bug Something isn't working label Oct 11, 2024
@Palmr
Copy link
Contributor Author

Palmr commented Oct 11, 2024

Are you up for submitting a PR to fix it?

I've given it a go 🤞

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants