DOC: A typo in ValueError raised by signal.iirdesign #20683
Labels
Documentation
Issues related to the SciPy documentation. Also check https://github.com/scipy/scipy.org
maintenance
Items related to regular maintenance tasks
scipy.signal
Milestone
Issue with current documentation:
Currently, in signal.iirdesign there is an error message being thrown:
raise ValueError("wp and ws must have one or two elements each, and" f"the same shape, got {wp.shape} and {ws.shape}")
There is a missing whitespace between the two strings (github messes up the formatting, I can't figure out how to format this properly.
A resulting error message being thrown is
Idea or request for content:
Again, looking at the existing solutions in the code (although they are not very consistent about this), I suggest adding a whitespace to the end of the first string or the beginning of the other string. There is a slight styling problem where the two solutions are being used interchangably - it doesn't break functionality in any way, it's just not pretty to look at. I suppose I can fix that, it's trivial, but I'm not sure if that's a change worth doing, do let me know.
Additional context (e.g. screenshots, GIFs)
No response
The text was updated successfully, but these errors were encountered: