How to remove subplots or create new plot from a subplot?

Hi @carlmarks , welcome to the forums. Sorry for the delay but maybe helpful still.

You could do something like this. Take the example form this thread:

Lets say, you are interested in the Barchart. You could select the trace and create a new figure with it:

# select the trace by index
gen_obj = fig.select_traces(selector=1)  # returns a generator object

# extract trace
trace = next(gen_obj)

# create new figure
new_fig = go.Figure(data=trace)
new_fig.show()

If you donโ€™t know the index of your trace, you can use other properties of your chart to select:

fig.select_traces(selector={'marker_color':'green'})
fig.select_traces(selector={'type':'bar'})

Keep in mind, that select_traces selects all traces if you donโ€™t specify the selector argument. You can also do something like this:

fig.select_traces(selector={'type':'scatter', 'marker_color':'blue'})

which obviously selects the scatter plot with the blue markers :wink: