Module Import alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr Expr Call AttributeLoad NameLoad attr keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr SubscriptLoad NameLoad Index Str Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore SubscriptLoad NameLoad Index Str Assign AttributeStore NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr If CompareEq Call NameLoad NameLoad Num body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore SubscriptLoad NameLoad Index Num Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr If CompareNotEq NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults NameLoad body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Assign NameStore Call NameLoad NameLoad Num NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Num AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Num AttributeLoad NameLoad attr If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr If CompareNotEq NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list decorator_list
N/A N/A wx wx_control WxControl matplotlib.backends.backend_wxagg FigureCanvasWxAgg matplotlib.backends.backend_wx NavigationToolbar2Wx WxMPLCanvas N/A WxControl N/A N/A  A Wx implementation of an Enaml MPLCanvas.

     N/A _figure None N/A _toolbar_visible False create_widget N/A N/A self parent tree N/A N/A N/A  Create the underlying widget.

         N/A widget N/A N/A wx Panel parent N/A sizer N/A N/A wx BoxSizer N/A wx VERTICAL N/A N/A N/A widget SetSizer sizer N/A widget N/A create N/A N/A self tree N/A N/A N/A  Create and initialize the underlying widget.

         N/A N/A N/A N/A super WxMPLCanvas self create tree N/A N/A self _figure N/A tree N/A figure N/A N/A self _toolbar_visible N/A tree N/A toolbar_visible N/A init_layout N/A N/A self N/A N/A N/A  Initialize the layout of the underlying widget.

         N/A N/A N/A N/A super WxMPLCanvas self init_layout N/A N/A N/A self refresh_mpl_widget notify False N/A on_action_set_figure N/A N/A self content N/A N/A N/A  Handle the 'set_figure' action from the Enaml widget.

         N/A N/A self _figure N/A content N/A figure N/A N/A N/A self refresh_mpl_widget N/A on_action_set_toolbar_visible N/A N/A self content N/A N/A N/A  Handle the 'set_toolbar_visible' action from the Enaml
        widget.

         N/A visible N/A content N/A toolbar_visible N/A N/A self _toolbar_visible visible N/A widget N/A N/A self widget N/A sizer N/A N/A widget GetSizer N/A children N/A N/A sizer GetChildren N/A N/A N/A len children 2 N/A N/A N/A N/A widget Freeze N/A old_hint N/A N/A widget GetBestSize N/A toolbar N/A children N/A 0 N/A N/A N/A toolbar Show visible N/A new_hint N/A N/A widget GetBestSize N/A N/A old_hint new_hint N/A N/A N/A N/A self size_hint_updated N/A N/A N/A sizer Layout N/A N/A N/A widget Thaw N/A refresh_mpl_widget N/A N/A self notify N/A True N/A N/A  Create the mpl widget and update the underlying control.

        Parameters
        ----------
        notify : bool, optional
            Whether to notify the layout system if the size hint of the
            widget has changed. The default is True.

         N/A widget N/A N/A self widget N/A N/A N/A widget Freeze N/A notify N/A N/A old_hint N/A N/A widget GetBestSize N/A sizer N/A N/A widget GetSizer N/A N/A N/A sizer Clear True N/A figure N/A self _figure N/A N/A figure None N/A N/A canvas N/A FigureCanvasWxAgg widget -1 figure N/A toolbar N/A NavigationToolbar2Wx canvas N/A N/A N/A toolbar Show N/A self _toolbar_visible N/A N/A N/A sizer Add toolbar 0 N/A wx EXPAND N/A N/A N/A sizer Add canvas 1 N/A wx EXPAND N/A notify N/A N/A new_hint N/A N/A widget GetBestSize N/A N/A old_hint new_hint N/A N/A N/A N/A self size_hint_updated N/A N/A N/A sizer Layout N/A N/A N/A widget Thaw N/A N/A