What is the recommended standard indentation for the second line of a multiline Python code with parentheses/commas?
No indentation:
plt.imshow(np.transpose(Z), extent=[0,4.2,0,48000], cmap='jet', vmin=-100, vmax=0, origin='lowest', aspect='auto')4 spaces indentation:
plt.imshow(np.transpose(Z), extent=[0,4.2,0,48000], cmap='jet', vmin=-100, vmax=0, origin='lowest', aspect='auto')Identation up to the
(:plt.imshow(np.transpose(Z), extent=[0,4.2,0,48000], cmap='jet', vmin=-100, vmax=0, origin='lowest', aspect='auto')Another solution?
This is linked: Proper indentation for Python multiline strings but here the question is specific to multiline with parentheses / commas, and not strings.