Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Map scale frame (black and white rectangles)

Open
#166 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
matplotlib, python

Research direction

No source file, test, or entry point is identified in the issue. Start by examining Basemap's frame, axis, and grid handling, then review the linked R polygon approach. Done means a configurable black-and-white scale frame is supported on latitude and longitude maps.

Written by the indexing model from the issue text.

Description

Hi,

Is somebody working or intending to write a patch that could deal with those scale frame (black and white marks) on latitude and longitude maps?

I wish to see this feature for a long time. I tried to start something but with no directions on which plot element it should be based... So I failed.
Maybe gridspec is the clue for this? Or the axis could be tweakable on tick position and thickness of line to achieve this?

In R I have found this code that fix this issue by ploting polygons. Should be our clue in matplotlib too?

Cheers,
Arnaldo.

Dominant language
Python
Stars
817
Forks
395
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from matplotlib/basemap

All issues in matplotlib/basemap

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.