You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As mentioned in 4. of this comment, there are several plotting functions that could use unit tests in plotting.py. At the moment the plotting test doesn't properly "test" anything, they primarily flush the code paths to make sure there aren't any errors raised. But adding some unit tests would be a good start.
The text was updated successfully, but these errors were encountered:
_plot_panel(cbt=True) needs to be tested for more complex graphs like the 8-state model in the kda-examples repo. It currently "works", but we don't have any tests that actually check if the correct nodes are being colored in the figure generated by plotting._plot_panel(). It's never easy to pull data out of matplotlib figures, but it would be nice to retrieve the node indices and their respective colors directly from the subplots and compare them to the expected values.
As mentioned in 4. of this comment, there are several plotting functions that could use unit tests in
plotting.py
. At the moment the plotting test doesn't properly "test" anything, they primarily flush the code paths to make sure there aren't any errors raised. But adding some unit tests would be a good start.The text was updated successfully, but these errors were encountered: