Problems with plotting multiple curves onto one plot. #1192
-
I wanted to overlay multiple WSS curves onto one plot. However, I ran into two problems. Problem 1
I wasn't sure why the module could not be found when everything was working fine previously. Problem 2 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I think your visualization code is not working because it uses parts of ASReview version 0.x that no longer exist in version 1.0. All the visualization tools have been moved to asreview-insights. But as you already noticed, it won't be possible to use your Solution 1: Run the simulations again with ASReview v1.0 Solution 2: Create a virtual environment with ASReview v0.19
This should create a folder
Your command line prompt should now show
This installs ASReview version 0.19 in the virtual environment. Any Python commands you run while the virtual environment is active will use ASReview v0.19 instead of v1. If you now run your Python visualization code, it should work just as it used to before v1. To deactivate the virtual environment, just close the command line prompt, or run |
Beta Was this translation helpful? Give feedback.
I think your visualization code is not working because it uses parts of ASReview version 0.x that no longer exist in version 1.0. All the visualization tools have been moved to asreview-insights. But as you already noticed, it won't be possible to use your
.h5
simulation files in ASReview version 1.0 or asreview-insights. I'm afraid there is no converter from.h5
to the new format, there is only a converter for.json
files, since these are used in ASReview Lab. I think there are two solutions though:Solution 1: Run the simulations again with ASReview v1.0
If your simulations don't take too long to run, this might be the easiest option. You'll get the same results, only now in a
.asreview
…