def get_plot_commands():
 import inspect
 exclude = {u'colormaps', u'colors', u'connect', u'disconnect', u'get_plot_commands', u'get_current_fig_manager', u'ginput', u'plotting', u'waitforbuttonpress'}
 exclude |= set(colormaps())
 this_module = inspect.getmodule(get_plot_commands)
 commands = set()
 for (name, obj) in list(six.iteritems(globals())):
  if (name.startswith(u'_') or (name in exclude)):
   continue
  if (inspect.isfunction(obj) and (inspect.getmodule(obj) is this_module)):
   commands.add(name)
 return sorted(commands)

def get_plot_commands ( ) : import inspect exclude = { u'colormaps' , u'colors' , u'connect' , u'disconnect' , u'get_plot_commands' , u'get_current_fig_manager' , u'ginput' , u'plotting' , u'waitforbuttonpress' } exclude |= set ( colormaps ( ) ) this_module = inspect . getmodule ( get_plot_commands ) commands = set ( ) for ( name , obj ) in list ( six . iteritems ( globals ( ) ) ) : if ( name . startswith ( u'_' ) or ( name in exclude ) ) : continue if ( inspect . isfunction ( obj ) and ( inspect . getmodule ( obj ) is this_module ) ) : commands . add ( name ) return sorted ( commands )
get a sorted list of all of the plotting commands .