biosustain / cameo

cameo - computer aided metabolic engineering & optimization
http://cameo.bio
Apache License 2.0
114 stars 44 forks source link

Added plotter argument to PhenotypicPhasePlaneResult.plot() #289

Open djinnome opened 3 years ago

djinnome commented 3 years ago

Solving issue https://github.com/biosustain/cameo/issues/288

Thanks to @jafemm for discovering this issue

codecov[bot] commented 3 years ago

Codecov Report

Merging #289 (e7f5859) into devel (8b1adb7) will decrease coverage by 0.17%. The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##            devel     #289      +/-   ##
==========================================
- Coverage   63.35%   63.18%   -0.18%     
==========================================
  Files          58       58              
  Lines        5786     5786              
  Branches      997      997              
==========================================
- Hits         3666     3656      -10     
- Misses       1902     1913      +11     
+ Partials      218      217       -1     
Impacted Files Coverage Δ
...ain_design/pathway_prediction/pathway_predictor.py 74.23% <0.00%> (ø)
cameo/models/webmodels.py 56.81% <0.00%> (-7.58%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 8b1adb7...e7f5859. Read the comment docs.

Rodriguez0101 commented 2 years ago

¿Cómo hago para visualizar en 3D una variable de tipo cameo.flux_analysis.analysis.PhenotypicPhasePlaneResult? result_3D.plot(plotter) #Este es el código que use

AttributeError: 'DataFrame' object has no attribute 'as_matrix'