def _hide_frame(ax):
 ax.get_yticks()
 ax.xaxis.set_ticks([])
 ax.yaxis.set_ticks([])
 ax.set_frame_on(False)

def _hide_frame ( ax ) : ax . get_yticks ( ) ax . xaxis . set_ticks ( [ ] ) ax . yaxis . set_ticks ( [ ] ) ax . set_frame_on ( False )
helper to hide axis frame for topomaps .