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 a python library, pyvolcans, was written to be used as a cli tool. Jupyter notebook is an easy way to showcase a library and it's commonly used as an interactive development environment (IDE). The following line when run from the terminal, behaves as expected:
It will correctly show two bar plots with: (1) the single-criterion and total (multi-criteria) analogy values between the target volcano and any a priori analogue volcano selected by the user, and (2) the percentage of better analogues (than each of the a priori analogues) available in the whole GVP database, for the specific target volcano chosen.
However, if the same function is run from within a jupyter notebook no bar plots will be shown. As a quick fix, pyvolcans should detect from what environment is called from (e.g. ipython) and should produce a plot in both cases.
Acceptance Criteria
Pyvolcans should produce bar plots irrespective of where it's running from.
The text was updated successfully, but these errors were encountered:
Description
As a python library,
pyvolcans
, was written to be used as a cli tool. Jupyter notebook is an easy way to showcase a library and it's commonly used as an interactive development environment (IDE). The following line when run from the terminal, behaves as expected:pyvolcans Fuego --apriori Villarrica Llaima Pacaya Reventador Tungurahua --plot_apriori
It will correctly show two bar plots with: (1) the single-criterion and total (multi-criteria) analogy values between the target volcano and any a priori analogue volcano selected by the user, and (2) the percentage of better analogues (than each of the a priori analogues) available in the whole GVP database, for the specific target volcano chosen.
However, if the same function is run from within a jupyter notebook no bar plots will be shown. As a quick fix,
pyvolcans
should detect from what environment is called from (e.g. ipython) and should produce a plot in both cases.Acceptance Criteria
The text was updated successfully, but these errors were encountered: