Editing Bounds To Get Rid Of White-space Within A Plot In Matplotlib
![Left: Data from 2000-2040, Right: Data from 2001-2039][2] Is there a way I can manually edit the bounds of my plot? When my x axis data runs from 2000 to 2040 matplotlib rearrang
Solution 1:
You can use the various pyplot functions called xlim
, ylim
(to set the limits of the axes), xticks
, yticks
(to set the tick positions) etc. Read the documentation.
Post a Comment for "Editing Bounds To Get Rid Of White-space Within A Plot In Matplotlib"