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.

[CLI] Subplot titles missing when using plotly

See original GitHub issue

Description When logging plotly figures with subplots, the titles of subplots are not displayed.

Wandb features Using wandb.log

How to reproduce

import plotly.express as px
import pandas as pd
import numpy as np

sample_table = pd.DataFrame(dict(a=np.arange(9),
                                 b=np.arange(9),
                                 c=np.tile(np.arange(3), 3)))

fig = px.line(sample_table, x="a", y="b", facet_col="c")

wandb.log(dict(test_fig=fig))

In a notebook/exported figure the titles for the subplot are visible: image

However in W&B dashboard the titles are not there anymore: Screenshot from 2021-04-07 13-50-25

Environment

  • OS: Ubuntu Linux 20.10
  • Environment: Jupyter Notebook / Lab / independent script
  • Python Version: both 3.6 and 2.8
  • Tested with the current release of the W&B python package (0.10.25)

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:1
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
lesliewandbcommented, Nov 2, 2022

Hi @wallykop, this issue had been put in our backlog. But I just reopened it to put it back in our queue

0reactions
exalate-issue-sync[bot]commented, Nov 2, 2022

WandB Internal User commented: lesliewandb commented: Hi @wallykop, this issue had been put in our backlog. But I just reopened it to put it back in our queue

Read more comments on GitHub >

github_iconTop Results From Across the Web

[CLI] Subplot titles missing when using plotly #2047 - GitHub
When logging plotly figures with subplots, the titles of subplots are not displayed. Wandb features. Using wandb.log. How to reproduce. import ...
Read more >
Plotly title is missing when combining 2 figures - Stack Overflow
I was able to see my title when I use fig1.show() but whenever I combine it with another plot, the title goes missing....
Read more >
Subplot titles disappearing when adding annotations
The problem is that subplot titles aren't shown, unless I remove the code for adding the annotations. I use: fig = py.tools.make_subplots(rows = ......
Read more >
Subplots and double y-axis - Plotly Community Forum
Hi guys. I want to show two charts, linked by their x-axis: Top chart, with one trace Bottom chart with two traces, each...
Read more >
plotly.graph_objects.Layout — 5.11.0 documentation
When the “event” flag is missing, plotly_click and plotly_selected events are not fired. ... titlefont – Deprecated: Please use layout.title.font instead.
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