File tree Expand file tree Collapse file tree
examples/subplots_axes_and_figures Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33Creating adjacent subplots
44==========================
55
6- To create plots that share a common axes (visually) you can set the
7- hspace between the subplots to zero. Passing sharex=True when creating the
8- subplots will automatically turn off all x ticks and labels except those on the
9- bottom axis.
6+ To create plots that share a common axis (visually) you can set the hspace
7+ between the subplots to zero. Passing sharex=True when creating the subplots
8+ will automatically turn off all x ticks and labels except those on the bottom
9+ axis.
1010
11- In this example the plots share a common xaxis but you can follow the
12- same logic to supply a common y axis.
11+ In this example the plots share a common x axis but you can follow the same
12+ logic to supply a common y axis.
1313"""
1414import matplotlib .pyplot as plt
1515import numpy as np
You can’t perform that action at this time.
0 commit comments