parameters: (self, plot_number)
return_statement: return None, None
docstring: Get the row in the table, and the PlotNameWidget corresponding
          to the given the plot name. This should always be called with
          a lock on self.mutex.
          :param plot_number: The unique number in GlobalFigureManager
docstring_summary: Get the row in the table, and the PlotNameWidget corresponding
          to the given the plot name. This should always be called with
          a lock on self.mutex.
          :param plot_number: The unique number in GlobalFigureManager
docstring_tokens: Get the row in the table and the PlotNameWidget corresponding to the given the plot name . This should always be called with a lock on self . mutex . : param plot_number : The unique number in GlobalFigureManager
function: def _get_row_and_widget_from_plot_number(self, plot_number):
          """
          Get the row in the table, and the PlotNameWidget corresponding
          to the given the plot name. This should always be called with
          a lock on self.mutex.
          :param plot_number: The unique number in GlobalFigureManager
          """
          for row in range(self.table_widget.rowCount()):
              widget = self.table_widget.cellWidget(row, Column.Name)
              if widget.plot_number == plot_number:
                  return row, widget
          return None, None
function_tokens: def _get_row_and_widget_from_plot_number ( self , plot_number ) : for row in range ( self . table_widget . rowCount ( ) ) : widget = self . table_widget . cellWidget ( row , Column . Name ) if widget . plot_number == plot_number : return row , widget return None , None