yongrenjie / penguins

A Python 3 package for analysing and plotting NMR spectra.
https://yongrenjie.github.io/penguins
MIT License
5 stars 2 forks source link

awkward error message with ds.stage("1..2") #16

Closed yongrenjie closed 3 years ago

yongrenjie commented 3 years ago

if "1..2" is passed as the first non-keyword argument, stage() thinks that it should be the axes, and then it raises a weird error about not having a PlotHoldingArea.

The error is technically correct, but could be more helpful.