class_docstr: Navigation toolbar for EditObjectsDialog
code: def __init__(self, canvas, want_measure=False):
      super(NavigationToolbar, self).__init__(canvas)
      self.volumetric = False
      if want_measure:
          self.bmp_error = wx.Bitmap(BMP_MEASURE)
          self.wx_ids["Measure"] = wx.NewId()
          self.Bind(
              wx.EVT_TOOL, self.measure, id=self.wx_ids["Measure"]
          )
          self.measure_tool = self.CreateTool(
              self.wx_ids["Measure"],
              "MeasureLength",
              self.bmp_error,
              kind=wx.ITEM_CHECK,
              shortHelp="Measure Length",
          )
          self.InsertTool(6, self.measure_tool)
      self.Realize()
  
imports: import matplotlib
  import matplotlib.backend_bases
  import matplotlib.backends.backend_wxagg
  import wx
  import wx.lib.intctrl
  from ..constants.figure import NAV_MODE_ZOOM
  from ..constants.figure import NAV_MODE_MEASURE
  from ..constants.figure import BMP_MEASURE
  from ..constants.figure import NAV_MODE_PAN
  from ..constants.figure import EVT_NAV_MODE_CHANGE
  from ..utilities.figure import get_crosshair_cursor
label_desc: Use image node_id 1 to create a new NavigationToolbar object from inherited base classes: matplotlib.backends.backend_wxagg with example: obj = NavigationToolbar(canvas, want_measure)