spectrum.plot() customization

The first solution works. When using the compute_psd.plot(), is there a way to define the figure size? Also, how do I change the scale of the y-axis?

Thanks.

@neurokrish heads up: I’ve migrated your follow-up question to its own thread. It’s generally preferred not to ask follow-ups that are tangentially/marginally related to the original question, as it makes it harder for others to search for and find answers in long, meandering threads.

the spectrum.plot() method returns a matplotlib figure, so figure.set_size_inches will change figure size after plotting. Same goes for the y-axis: something like fig.axes[0].set_ylim() (docs) should do the trick.