class_docstr: Create plots for `InteractTargetPlot` or `InteractPredictPlot`
  
  Methods
  -------
  plot_matplotlib : plot using matplotlib
  plot_plotly : plot using plotly
class_docstr_tok: ["Create","plots","for","`","InteractTargetPlot","`","or","`","InteractPredictPlot","`","Methods","--","--","--","-","plot_matplotlib",":","plot","using","matplotlib","plot_plotly",":","plot","using","plotly"]
code: def _draw_legend_sizes_plotly(self, cmap, fig, grids):
      color = getattr(px.colors.sequential, cmap)[2]
      fig.add_trace(
          go.Scatter(
              x=[0.25, 0.75],
              y=[0.5, 0.5],
              text=[self.count_min, self.count_max],
              mode="markers+lines+text",
              marker=dict(
                  size=[15, 30],
                  color=color,
              ),
              hoverinfo="none",
          ),
          **grids,
      )
      fig.update_yaxes(visible=False, **grids)
      fig.update_xaxes(visible=False, range=[0, 1], **grids)
  
imports: from .styles import _prepare_plot_style, _axes_modify, _display_percentile, _modify_legend_axes, _get_axes_label
  import numpy
  from itertools import cycle
  import plotly.express
  import matplotlib
  import matplotlib.pyplot
  from matplotlib.gridspec import GridSpecFromSubplotSpec
  from mpl_toolkits.axes_grid1.inset_locator import inset_axes
  import matplotlib.patheffects
  import plotly.graph_objects
label_desc: Use image node_id 11 for calling the InteractInfoPlotEngine obj's underlying member method code with example usage: obj._draw_legend_sizes_plotly(cmap, fig, grids) without return types