.legend() code example Example: python no label in legend matplot ax.plot(randn(1000).cumsum(), 'k.', label='_nolegend_')