question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ENH: add option to remove brackets from mapclassify legend

See original GitHub issue

Since 0.8.0, mapclassify indicates which value is part of the actual bin and which is not by ( or [ (as open and closed interval). I think it is a useful thing, but I was asked how to remove them, to keep only the numbers as it was in 0.7.0. We could add an option to legend_kwds which would use the old format. Something like interval=True/False.

New: Unknown

Old: Unknown-1

It is nothing crucial though, just a nice option to have.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:3
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
martinfleiscommented, Sep 5, 2020

@donlo feel free to open a PR with this. Implementation-wise, I would check for interval keyword in legend_kwds.

0reactions
martinfleiscommented, Jul 16, 2021

Closed by #1605

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to remove square brackets in legend of scatterplot?
Just pass the scalars instead of the whole array in label : plt.plot(x, m*x + b, linestyle='-', color='black', label='y = {}+{}x, ...
Read more >
mapclassify.UserDefined - PySAL
Configure and create a classifier that will consume data and produce classifications, given the configuration options specified by this function. plot (gdf[, ...
Read more >
Release 0.19.0 Qiusheng Wu - geemap's documentation!
Add a customized legend for Earth Engine data. ... interval [boolean (default False)] An option to control brackets from mapclassify legend.
Read more >
S3400-48T4SP Switch CLI Reference Guide| FS
This command is used to set the absolute time for the system. For the switch with a battery-powered clock, the clock will be...
Read more >
ILWIS 2.2 for Windows - BIRD LIST
Before using the uninstall option, copy all installed data files that you do ... Note: This chapter is written as an enhancement to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found