code: def add_measurement_row(self, can_delete=True):
      row_idx = len(self.measurement_rows) + 1
      mr = []
      panel = self.panel
      row = WorkspaceViewMeasurementRow(
          panel,
          self.m_grid,
          row_idx,
          lambda: self.on_measurement_changed(mr[0]),
      )
      bitmap = wx.ArtProvider.GetBitmap(
          wx.ART_DELETE, wx.ART_TOOLBAR, (16, 16)
      )
      row.remove_button = wx.BitmapButton(panel, bitmap=bitmap)
      mr.append(row)
      self.measurement_rows.append(row)
  
      self.m_grid.Add(
          row.remove_button,
          (row_idx, C_REMOVE),
          flag=wx.ALIGN_CENTER_HORIZONTAL | wx.ALIGN_TOP,
      )
      row.remove_button.Bind(
          wx.EVT_BUTTON,
          lambda event: self.remove_measurement_row(
              row, row.remove_button
          ),
      )
      if not can_delete:
          row.remove_button.Hide()
      row.update(self.workspace)
  
imports: import matplotlib
  import matplotlib.axes
  import numpy
  import wx
  import wx.lib.scrolledpanel
  from cellprofiler_core.constants.measurement import EXPERIMENT
  from cellprofiler_core.constants.measurement import IMAGE
  from cellprofiler_core.constants.measurement import M_LOCATION_CENTER_X
  from cellprofiler_core.constants.measurement import M_LOCATION_CENTER_Y
  from cellprofiler_core.measurement import Measurements
  from cellprofiler_core.preferences import IM_BILINEAR
  from cellprofiler_core.preferences import get_primary_outline_color
  from cellprofiler_core.preferences import get_secondary_outline_color
  from cellprofiler_core.preferences import get_tertiary_outline_color
  from cellprofiler_core.preferences import IM_NEAREST
  from cellprofiler_core.preferences import get_interpolation_mode
  from ..artist import INTERPOLATION_BILINEAR
  from ..artist import INTERPOLATION_NEAREST
  from ..artist import INTERPOLATION_BICUBIC
  from ..artist import MODE_HIDE
  from ..artist import CPImageArtist
  from ..constants.workspace_view import C_CHOOSER, WORKSPACE_VIEWER_HELP
  from ..constants.workspace_view import C_COLOR
  from ..constants.workspace_view import C_SHOW
  from ..constants.workspace_view import C_REMOVE
  from ..help.content import FIGURE_HELP
  from ..html.utils import rst_to_html_fragment
  from ..htmldialog import HTMLDialog
  from ._workspace_view_figure import WorkspaceViewFigure
  from ._workspace_view_image_row import WorkspaceViewImageRow
  from ._workspace_view_mask_row import WorkspaceViewMaskRow
  from ._workspace_view_measurement_row import WorkspaceViewMeasurementRow
  from ._workspace_view_objects_row import WorkspaceViewObjectsRow
label_desc: Use image node_id 11 for calling the WorkspaceView obj's underlying member method code with example usage: obj.add_measurement_row(can_delete) without return types