code: def load_plugin_widgets(self):
          
          from enamlnative.widgets import api
          for plugin in self.get_plugins(group='enaml_native_widgets'):
              get_widgets = plugin.load()
              for name, widget in iter(get_widgets()):
                  #: Update the core api with these widgets
                  setattr(api, name, widget)
docs: Pull widgets added via plugins using the `enaml_native_widgets` 
          entry point. The entry point function must return a dictionary of 
          Widget declarations to add to the core api.
  
          def install():
              from charts.widgets.chart_view import BarChart, LineChart
              return {
                  'BarChart': BarChart,
                  'LineCart': LineChart,
              }