pysal / pointpats

Planar Point Pattern Analysis in PySAL
https://pysal.org/pointpats/
BSD 3-Clause "New" or "Revised" License
80 stars 26 forks source link

plot density on axis #123

Closed martinfleis closed 10 months ago

martinfleis commented 10 months ago

right now this gives back a matplotlib.contour.QuadContourSet. Is there any way to have it return an axes object, e.g. to play nicely with contextily? (https://github.com/pysal/pointpats/pull/118#issuecomment-1734643715)

Yep.

codecov[bot] commented 10 months ago

Codecov Report

Merging #123 (7e8c71a) into main (a9d384c) will increase coverage by 0.1%. The diff coverage is 100.0%.

Impacted file tree graph

@@           Coverage Diff           @@
##            main    #123     +/-   ##
=======================================
+ Coverage   64.1%   64.2%   +0.1%     
=======================================
  Files         12      12             
  Lines       1448    1452      +4     
=======================================
+ Hits         928     932      +4     
  Misses       520     520             
Files Coverage Δ
pointpats/kde.py 87.2% <100.0%> (+1.2%) :arrow_up: