Figure.histogram: Calculate and plot histograms
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 30/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- python
- Domain
- data-visualization
Research direction
Start with the pygmt.Figure.histogram API documentation and compare its supported options with the GMT histogram documentation. Review the checked and unchecked option list and the project board to identify the remaining scope. Done means the initial histogram implementation and its tutorial or gallery example are complete.
Written by the indexing model from the issue text.
Description
This issue serves as the central place for discussing and tracking the implementation of the histogram method in PyGMT. The issue will be closed when the initial implementation is complete. Progress is tracked at https://github.com/orgs/GenericMappingTools/projects/3.
Documentation
- GMT: https://docs.generic-mapping-tools.org/dev/histogram.html
- GMT.jl: https://www.generic-mapping-tools.org/GMTjl_doc/documentation/modules/histogram
- PyGMT: https://www.pygmt.org/dev/api/generated/pygmt.Figure.histogram.html
GMT Option Flags and Modifiers
☑️: Implemented; ⬜: To be implemented/discussed; Strikethrough: Won't implement.
-
table:data -
-A:horizontal#4880 -
-B:frame -
-C:cmap,fill#4886 -
-D:annot,annot_position,annot_font,annot_offset,annot_orientation#4895 -
-E:bar_width,bar_offset#4316 -
-F:center#4896 -
-G:fill -
-I: Inquiry mode. This can be done bynp.histogram. So who need it in PyGMT? -
-Jx|X:projection -
-L:out_range#4882 -
-N:distribution,distribution_pen#4894 -
-Q:cumulative#4881 -
-R:region -
-S:stairs#4884 -
-T:series#4899 -
: Use-UFigure.timestampinstead. -
-V:verbose -
-W:pen -
: Use-X/-YFigure.shift_origininstead. -
-Z:-
histtype#4912 -
weights#4890
-
-
-bi -
-c:panel -
-di -
-e -
-f -
-h -
-i:incols -
-l:label -
-o -
-p:perspective -
-qi -
-s -
-t:transparency -
-w -
: Use--PAR=valuepygmt.configinstead.
Notes on Input Formats
Add any notes on the input formats, especially the meaning of columns.
Linked Pull Requests
- Initial feature implementation
- Add a tutorial or gallery example
Related Issues and Discussions
Add links to related wrapper discussions, API design threads, or upstream GMT changes here.
- Dominant language
- Python
- Stars
- 882
- Forks
- 261
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 29
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from GenericMappingTools/pygmt
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
GenericMappingTools/pygmt#5014 · 1 comment ·
Maintainers usually reply within 1 day
-
discussions documentation
Difficulty 1/5 Under an hour Newbie friendliness 78/100
GenericMappingTools/pygmt#4992 ·
Maintainers usually reply within 1 day
-
Improve reporting the GMT version via "pygmt.show_versions()"Possibly taken @yvonnefroehlich claimed this 114 days ago. Openmaintenance
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
GenericMappingTools/pygmt#4812 · 4 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 64/100
GenericMappingTools/pygmt#4765 ·
Maintainers usually reply within 1 day
-
Add an AGENTS.md filePossibly taken A pull request linked to this issue is open or already merged. Opendiscussions
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
GenericMappingTools/pygmt#4677 · 2 comments · 1 reaction ·
Maintainers usually reply within 1 day
All issues in GenericMappingTools/pygmt
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
TigreGotico/orthography2ipa#2950 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Unstructured-IO/unstructured#4876 ·
Maintainers usually reply within 6 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
openfoodfacts/openfoodfacts-python#579 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
fairagro/m4.2_sql_to_arc#388 ·
Maintainers usually reply within 1 day