How to show only one plot and not a second repeat plot, guessing parent and child plots.

%pyspark

from bokeh.io import output_notebook, show

from bokeh.layouts import row, column

from bokeh.models import BoxSelectTool, LassoSelectTool, Spacer

from bokeh.plotting import figure, curdoc

from bokeh.io import output_notebook

import bkzep

output_notebook(notebook_type=‘zeppelin’)

from bokeh.sampledata.autompg import autompg as df

from numpy import histogram, linspace

from scipy.stats.kde import gaussian_kde

pdf = gaussian_kde(df.hp)

x = linspace(0,250,200)

p = figure(x_axis_type=“log”, plot_height=300)

p.line(x, pdf(x))

# plot actual hist for comparison

hist, edges = histogram(df.hp, density=True, bins=20)

p.quad(top=hist, bottom=0, left=edges[:-1], right=edges[1:], alpha=0.4, line_color=“red”, )

show§