Skip to content

VBA - retain unlabeled axis plotting behavior#306

Draft
jGaboardi wants to merge 1 commit intopysal:mainfrom
jGaboardi:GH305_vba_nonlabel
Draft

VBA - retain unlabeled axis plotting behavior#306
jGaboardi wants to merge 1 commit intopysal:mainfrom
jGaboardi:GH305_vba_nonlabel

Conversation

@jGaboardi
Copy link
Copy Markdown
Member

@jGaboardi jGaboardi commented Apr 12, 2026

This PR

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 12, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 90.2%. Comparing base (b437c8a) to head (651002e).

Additional details and impacted files

Impacted file tree graph

@@          Coverage Diff          @@
##            main    #306   +/-   ##
=====================================
  Coverage   90.2%   90.2%           
=====================================
  Files         11      11           
  Lines       1308    1311    +3     
=====================================
+ Hits        1180    1183    +3     
  Misses       128     128           
Files with missing lines Coverage Δ
mapclassify/value_by_alpha.py 91.2% <100.0%> (+0.2%) ⬆️
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Copy Markdown
Member

@martinfleis martinfleis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

My general suggestion here is to wait.

legend=False,
legend_kwargs=None,
min_alpha=0.2,
axis_labels=False,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we wait until this is resolved in geopandas? If we're adding a keyword there, we will want it to be the same here.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, absolutely. I will convert to draft. I was under the impression that there would probably not be a keyword added upstream.

Minimum alpha threshold to prevent fully transparent masking.
axis_labels : bool = False
Remove CRS unit axis labels from the returned ``ax``. This retains default
behavior in ``mapclassify`` and only has an affect when ``geopandas>v1.1.3``
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
behavior in ``mapclassify`` and only has an affect when ``geopandas>v1.1.3``
behavior in ``mapclassify`` and only has an affect when ``geopandas>=v1.2``

There might be 1.1.4 which will not contain new plotting.

Comment on lines +214 to +216
if not axis_labels:
ax.set_xlabel("")
ax.set_ylabel("")
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Again, if this is going to be solved on geopandas side, we would just want to pass the keyword.

@jGaboardi jGaboardi marked this pull request as draft April 13, 2026 13:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

retain unlabeled axis behavior in vba_choropleth()

2 participants