spectramap
spectramap copied to clipboard
feat: path added for show method in single object
This PR updates single_object.show to:
- Display the plot using
plt.show()(enabled by default). - Save the plot to a file path specified via the
pathparameter.