chaco.examples.demo.basic.grid_container module¶
Grid containing plots with resize restrictions
The ability of Plots to resize, when their container resizes, can be explicitly restricted in either direction. This can place implicit restrictions on other plots in the grid.
In this example, the upper left plot is explicitly restricted from resizing horizontally. The bottom center plot is explicitly restricted from resizing at all.
The resulting implicit restrictions on the other 4 plots are generally intuitive, except that when the window gets too small to respect all of the restrictions, the results are OS and GUI-backend-dependent, not easily predictable.
-
class
chaco.examples.demo.basic.grid_container.
Demo
¶ Bases:
traits.has_traits.HasTraits