Lines Matching refs:grid
301 # some classes for organizing subplots into a grid
546 grid = cls(Subplot(**args))
555 grid.merge(subgrid, dir)
557 grid.scale(width, height)
558 return grid
680 plt.rc('grid', color=background_)
683 plt.rc('grid', linewidth=1)
693 plt.rc('grid', color=background_)
752 # create a grid of subplots
753 grid = Grid.fromargs(
766 grid.height
769 grid.width
772 + [max(s, 0.01) for s in reversed(grid.yweights)]
774 width_ratios=[max(s, 0.01) for s in grid.xweights]
778 for s in grid:
780 grid.height-(s.y+s.yspan) + (1 if legend_above else 0)
781 : grid.height-s.y + (1 if legend_above else 0),
786 for s in grid:
910 ax.grid(sketch_params=None)
928 for s in grid:
943 ax = fig.add_subplot(gs[0, :grid.width])
961 ax = fig.add_subplot(gs[-1, :grid.width])
997 xmid = (grid[0,0].ax.get_position().x0 + grid[-1,0].ax.get_position().x1)/2
998 ymid = (grid[0,0].ax.get_position().y0 + grid[0,-1].ax.get_position().y1)/2