Closed
Description
In most cases plotting with an empty data_frame works nicely, I mean, it shows a figure with no traces but with the good layout.
But if we specify a facet_col
or facet_row
it fails.
import plotly.express as px
import pandas as pd
px.bar(
pd.DataFrame(columns=['A', 'B', 'X']),
x = 'A',
y = 'X',
facet_col = 'B'
)
I would expect the same result as if facet_col
was None. As it is already the case for animation_frame