astrofrog / mpl-scatter-density

:zap: Fast scatter density plots for Matplotlib :zap:
BSD 2-Clause "Simplified" License
497 stars 25 forks source link

Improve check for resize support to not trigger Qt and Tk imports #27

Closed astrofrog closed 5 years ago

astrofrog commented 5 years ago

This is to make sure we never import Qt or Tk if working in e.g. a Jupyter environment.

codecov-io commented 5 years ago

Codecov Report

Merging #27 into master will increase coverage by 0.63%. The diff coverage is 93.33%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #27      +/-   ##
==========================================
+ Coverage   91.89%   92.52%   +0.63%     
==========================================
  Files          10       11       +1     
  Lines         506      522      +16     
==========================================
+ Hits          465      483      +18     
+ Misses         41       39       -2
Impacted Files Coverage Δ
mpl_scatter_density/base_image_artist.py 90.19% <100%> (+3.04%) :arrow_up:
...pl_scatter_density/tests/test_base_image_artist.py 91.3% <91.3%> (ø)

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 1b99277...72508c6. Read the comment docs.