Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

vectorize centroid in W.plot #465

Merged
merged 4 commits into from
Oct 21, 2023
Merged

vectorize centroid in W.plot #465

merged 4 commits into from
Oct 21, 2023

Conversation

martinfleis
Copy link
Member

Closes #464

Avoiding apply altogether here. This will use vectorized pygeos implementation.

@martinfleis martinfleis requested a review from sjsrey April 13, 2022 18:27
@martinfleis
Copy link
Member Author

Btw, I am not sure if this is actually tested...

@codecov
Copy link

codecov bot commented Apr 13, 2022

Codecov Report

Merging #465 (bdc647e) into main (5d09bc6) will increase coverage by 0.2%.
The diff coverage is 81.8%.

Impacted file tree graph

@@           Coverage Diff           @@
##            main    #465     +/-   ##
=======================================
+ Coverage   84.0%   84.1%   +0.2%     
=======================================
  Files        128     128             
  Lines      15053   15072     +19     
=======================================
+ Hits       12642   12681     +39     
+ Misses      2411    2391     -20     
Files Coverage Δ
libpysal/weights/weights.py 92.5% <100.0%> (+3.9%) ⬆️
libpysal/weights/tests/test_weights.py 98.6% <76.5%> (-1.1%) ⬇️

@ljwolf
Copy link
Member

ljwolf commented Apr 13, 2022

It's not iirc...

@martinfleis
Copy link
Member Author

It's not

okay, I'll add a test

@martinfleis
Copy link
Member Author

This should be ready now.

@martinfleis martinfleis changed the base branch from master to main February 27, 2023 08:44
@martinfleis
Copy link
Member Author

this got forgotten but also resolves some warnings. those are not visible in CI because it was not tested until now :)

@jGaboardi
Copy link
Member

:shipit: 🚀

@jGaboardi jGaboardi merged commit e69655b into pysal:main Oct 21, 2023
9 of 10 checks passed
@martinfleis martinfleis deleted the centroid branch October 21, 2023 21:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

W.plot method is generating long list of deprecation warnings
5 participants