I know how to sneak my way round this by inserting an axis object that fills the full figure etc but this feels like a silly hack. Is there an easy and fast way to do this? My code is: importmatplotlibfrommatplotlibimportpyplotaspltfrommatplotlib.pathimportPathimportmatplotlib.patchesaspatc...
For those wanting to only remove the frame (border), and keep labels, tickers etc, one can do that by accessing thespinesobject on the axis. Given an axis objectax, the following should remove borders on all four sides: ax.spines['top'].set_visible(False) ax.spines['right'].set_visi...