how to show only the label in legend matplotlib code example Example: python no label in legend matplot ax.plot(randn(1000).cumsum(), 'k.', label='_nolegend_')