biosustain / shu

Multi-dimensional, trans-omics metabolic maps.
https://biosustain.github.io/shu
Apache License 2.0
41 stars 1 forks source link

[DEV] Clean instead of stacking plotting states #33

Closed carrascomj closed 11 months ago

carrascomj commented 11 months ago

This is a changed behavior.

Problem

Before, data files could be stacked one after the other, replacing only the plot kinds that were added. The users are not usually expecting this behavior, and it has made them to close the application every time they wanted to change the plotted data.

Solution

Now, adding new data simply removes the previously added data. This PR also removes the axis Transform updated in the previous data, we may want to consider keeping them.