Closed jofrevalles closed 1 year ago
This bug wasn't catch by tests because we don't test visualization. Maybe we should think about testing that plotting doesn't crash?
Yep, my fault. Since this was added by code suggestion, I did not test that. I will next time.
No worries! It was actually my fault because I requested that change. I'm just commenting that maybe we should find a way to test that.
We could do a normal test for that, right? Just to see if the plot is at least able to open without crashes.
Maybe yeah. The only thing is that CI runs do not have a graphical interface so they probably will fail. I think there is a package for creating a fake graphical interface just for this kind of things.
Small fix from last PR, the plot function crashed since the function
labels
conflicts with the keyword argumentlabels
.