parameters: (self)
docstring: Handles the data type being changed in the view by plotting the workspaces corresponding to the new data type
docstring_summary: Handles the data type being changed in the view by plotting the workspaces corresponding to the new data type
docstring_tokens: Handles the data type being changed in the view by plotting the workspaces corresponding to the new data type
function: def handle_data_type_changed(self):
          """
          Handles the data type being changed in the view by plotting the workspaces corresponding to the new data type
          """
          self.context._frequency_context.x_label = self.get_plot_type()
          # update plot -> will update range too
          self.handle_maxent_data_updated(self.context._frequency_context.switch_units_in_name(self._maxent_ws_name))
          self.update_freq_units.notify_subscribers()
function_tokens: def handle_data_type_changed ( self ) : self . context . _frequency_context . x_label = self . get_plot_type ( ) # update plot -> will update range too self . handle_maxent_data_updated ( self . context . _frequency_context . switch_units_in_name ( self . _maxent_ws_name ) ) self . update_freq_units . notify_subscribers ( )