matplotlib / matplotlib/basemap

Map scale frame (black and white rectangles)

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

Nobody has claimed this yet.

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

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](http://menugget.blogspot.com.br/2012/04/add-frame-to-map.html) that fix this issue by ploting polygons. Should be our clue in matplotlib too?

Cheers,
Arnaldo.

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.

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.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.