Add a `.Container` to the Axes' containers; return the container.
(self, container)
| 2628 | return tab |
| 2629 | |
| 2630 | def add_container(self, container): |
| 2631 | """ |
| 2632 | Add a `.Container` to the Axes' containers; return the container. |
| 2633 | """ |
| 2634 | label = container.get_label() |
| 2635 | if not label: |
| 2636 | container.set_label('_container%d' % len(self.containers)) |
| 2637 | self.containers.append(container) |
| 2638 | container._remove_method = self.containers.remove |
| 2639 | return container |
| 2640 | |
| 2641 | def _unit_change_handler(self, axis_name, event=None): |
| 2642 | """ |