'Creates a new graph
If your visualization uses axes other than ``xBottom`` and ``yLeft``, specify them in the
``axes`` parameter. To use non-cartesian axes, set ``axes`` to an empty list
and add custom axes with :meth:`add_axis` or :meth:`add_custom_axis`'

def __init__(self, parent=None, name='None', show_legend=1, axes=[xBottom, yLeft], widget=None):

    orangeqt.Plot.__init__(self, parent)
    OWComponent.__init__(self, widget)
    self.widget = widget
    self.parent_name = name
    self.title_item = None
    self.setRenderHints((QPainter.Antialiasing | QPainter.TextAntialiasing))
    self._legend = OWLegend(self, self.scene())
    self._legend.setZValue(LegendZValue)
    self._legend_margin = QRectF(0, 0, 100, 0)
    self._legend_moved = False
    self.axes = dict()
    self.axis_margin = 50
    self.y_axis_extra_margin = 30
    self.title_margin = 40
    self.graph_margin = 10
    self.mainTitle = None
    self.showMainTitle = False
    self.XaxisTitle = None
    self.YLaxisTitle = None
    self.YRaxisTitle = None
    self.setCanvasBackground = self.setCanvasColor
    self.map_from_widget = self.mapToScene
    self.point_width = 5
    self.show_filled_symbols = True
    self.show_grid = True
    self.curveSymbols = list(range(13))
    self.tips = TooltipManager(self)
    self.setMouseTracking(True)
    self.grabGesture(Qt.PinchGesture)
    self.grabGesture(Qt.PanGesture)
    self.state = NOTHING
    self._pressed_mouse_button = Qt.NoButton
    self._pressed_point = None
    self.selection_items = []
    self._current_rs_item = None
    self._current_ps_item = None
    self.polygon_close_treshold = 10
    self.sendSelectionOnUpdate = False
    self.auto_send_selection_callback = None
    self.data_range = {}
    self.map_transform = QTransform()
    self.graph_area = QRectF()
    self.setViewportUpdateMode(QGraphicsView.FullViewportUpdate)
    self.scene().setItemIndexMethod(QGraphicsScene.NoIndex)
    self.animate_plot = True
    self.animate_points = True
    self.antialias_plot = True
    self.antialias_points = True
    self.antialias_lines = True
    self.auto_adjust_performance = True
    self.disable_animations_threshold = 5000
    self.warn_unused_attributes = False
    self._bounds_cache = {}
    self._transform_cache = {}
    self.block_update = False
    self.use_animations = True
    self._animations = []
    self.mousePressEventHandler = None
    self.mouseMoveEventHandler = None
    self.mouseReleaseEventHandler = None
    self.mouseStaticClickHandler = self.mouseStaticClick
    self.static_click = False
    self._marker_items = []
    self.grid_curve = PlotGrid(self)
    self._zoom_rect = None
    self._zoom_transform = QTransform()
    self.zoom_stack = []
    self.old_legend_margin = None
    self.setHorizontalScrollBarPolicy(Qt.ScrollBarAlwaysOff)
    self.setVerticalScrollBarPolicy(Qt.ScrollBarAlwaysOff)
    for key in axes:
        if (key in [yLeft, xTop]):
            self.add_axis(key, title_above=1)
        else:
            self.add_axis(key)
    self.continuous_palette = ColorPaletteGenerator(number_of_colors=(-1))
    self.discrete_palette = ColorPaletteGenerator()
    self.gui = OWPlotGUI(self)
    '\n                                                An    :obj:`.OWPlotGUI`    object    associated    with    this    plot\n                 DCTB '
    self.activate_zooming()
    self.selection_behavior = self.AddSelection
    self.main_curve = None
    self.replot()
