class_docstr: Create plots for `PDPIsolate`
  
  Methods
  -------
  plot : generate the plot
  plot_matplotlib : plot using matplotlib
  plot_plotly : plot using plotly
class_docstr_tok: ["Create","plots","for","`","PDPIsolate","`","Methods","--","--","--","-","plot",":","generate","the","plot","plot_matplotlib",":","plot","using","matplotlib","plot_plotly",":","plot","using","plotly"]
code: def _pdp_dist_plot_plotly(self, colors, fig, grids):
      cmap, _, dark_color = colors
  
      if self.is_numeric and not self.plot_style.to_bins:
          dist_df = self.plot_obj.dist_df
          dist_trace = go.Scatter(
              x=dist_df,
              y=[1] * len(dist_df),
              mode="text",
              text=["|"] * len(dist_df),
              textposition="middle center",
              textfont=dict(
                  size=self.plot_style.dist["markersize"],
                  color=_to_rgba(dark_color),
              ),
              showlegend=False,
              name="dist",
              hoverinfo="none",
          )
          fig.update_xaxes(
              showgrid=False, showticklabels=False, **grids
          )
          fig.update_yaxes(showgrid=False, **grids)
      else:
          dist_trace = self._draw_pdp_countplot_plotly(
              self.plot_obj.count_df, cmap
          )
  
      fig.add_trace(dist_trace, **grids)
  
imports: from .utils import _get_string, _to_rgba
  from .styles import _prepare_plot_style, _axes_modify, _display_percentile, _modify_legend_axes, _get_axes_label
  import pandas
  import numpy
  import matplotlib
  import matplotlib.pyplot
  from matplotlib.gridspec import GridSpecFromSubplotSpec
  import copy
  from mpl_toolkits.axes_grid1.inset_locator import inset_axes
  import plotly.graph_objects
  from sklearn.cluster import MiniBatchKMeans, KMeans
  from itertools import cycle
label_desc: Use image node_id 17 for calling the PDPIsolatePlotEngine obj's underlying member method code with example usage: obj._pdp_dist_plot_plotly(colors, fig, grids) without return types