dme65 / pySOT

Surrogate Optimization Toolbox for Python
Other
205 stars 53 forks source link

Fix: case where matplotlib.pyplot is already imported #28

Closed Ontahm closed 5 years ago

Ontahm commented 5 years ago

Fixed the utils.progress_plot function that would return "Failed to import matplotlib.pyplot, aborting...." whenever matplotlib.pyplot is already imported in the user code.

codecov[bot] commented 5 years ago

Codecov Report

Merging #28 into master will not change coverage. The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master      #28   +/-   ##
=======================================
  Coverage   92.53%   92.53%           
=======================================
  Files           8        8           
  Lines        1634     1634           
=======================================
  Hits         1512     1512           
  Misses        122      122
Impacted Files Coverage Δ
pySOT/utils.py 92.89% <ø> (ø) :arrow_up:

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 d3f2d64...25ff651. Read the comment docs.