Загрузка

Some plotting functions make the axis limits "sticky" or immune to the will
of the margins methods. For instance, imshow and
pcolor expect the user to want the limits to be tight around the
pixels shown in the plot. If this behavior is not desired, you need to set
use_sticky_edges to False. Consider the following example:
y, x = np.mgrid[:5, 1:6]
poly_coords = [
(0.25, 2.75), (3.25, 2.75),
(2.25
Tags: component: axes plot-type: line plot-type: imshow plot-type: pcolor level: beginner
Total running time of the script: (0 minutes 1.124 seconds)