by passing a list:: spines[['top', 'right']].set_visible(False) Use an open slice to address all spines:: spines[:].set_visible(False) The latter two indexing methods will return a `SpinesProxy` that broadcasts all ``set_*`` calls to its members, but cannot be used for any other operation. c