Is there an easy way to hide the axis lines? ( bounding
> box of the figure ). I set the xaxis._visible to false
> and that hid the ticks, I also tried setting figure(
> edgecolor='white' ).
This may be a confusion of terminology.
In matplotlib, the figure box is the entire canvas, and is
controlled by fig.figurePatch. The Axes bounding box is the white box
inside the figure box, and is controlled by ax.axesPatch. Both are
matplotlib.patches.Rectangle instances. The Axis objects are the X
and Y Axis and control the ticks and tick labels.
To turn off the Axes box entirely, you can do