I’ve been using the tools.make_subplots to generate graphs with a varying number of subplots per graph.
I have come across an issue when the total number of sub-plots exceeds 65, receiving the below error:
Invalid value of type ‘builtins.float’ received for the ‘domain’ property of layout.yaxis
Received value: 1.0000000000000007
The ‘domain’ property is a number and may be specified as:
- An int or float in the interval [0, 1]
I’m using the following code to generate the fig:
final = tools.make_subplots(rows = plot_count, cols = 1)
for plot_num, plot in enumerate(fig[‘data’]):
final.append_trace(plot, plot_num + 1, 1)
where fig[‘data’] is a list of dictionaries with the required information for each trace.
Is there any way to get around this issue and display as many sub plots as necessary in a single graph?