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

Handle empty data in heatmaps #6968

Open
Sanjay-Sahu-Bandla opened this issue Apr 15, 2024 · 1 comment
Open

Handle empty data in heatmaps #6968

Sanjay-Sahu-Bandla opened this issue Apr 15, 2024 · 1 comment

Comments

@Sanjay-Sahu-Bandla
Copy link

Is there any way to handle the empty data like showing "No data is available" when there's no data given for the heatmap

Example:

var data = [
  {
    z: [],
    type: 'heatmap'
  }
];

Plotly.newPlot('myDiv', data);

Instead of showing an empty heatmap with x-axis, y-axis lines, it should show a label text like "No data is available"

If this feature is not available, it would be great to add such feature.

@sidharth-05
Copy link

Hi @Sanjay-Sahu-Bandla ! I would love to take on this issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants