Repository navigation
Add gallery example for scatter plot with histograms on sides - #2410
Conversation
|
/format |
Co-authored-by: Yvonne Fröhlich <[email protected]>
|
/format |
Co-authored-by: Dongdong Tian <[email protected]>
Co-authored-by: Dongdong Tian <[email protected]>
|
I have undone the changes regarding |
|
/format |
I think what you should use is |
|
/format |
|
Is the chosen "Histograms" category the right one for this example @GenericMappingTools/pygmt-maintainers ? |
I think the (more) interesting part of this figure are the histograms at the sides (not the scatter plot in the center), thus I would leave it as is in the "Histograms" category. There is also already a stand-alone gallery example for a Scatter plot. |
Co-authored-by: Yvonne Fröhlich <[email protected]>
weiji14
left a comment
There was a problem hiding this comment.
Nice example! Just two minor suggestions.
Description of proposed changes
This PR adds a new gallery example showing a combination of a scatter plot with histograms on the sides. This is often used but I found no documentation in the GMT universe for this use-case. Inspired by matplotlib.
Preview: https://pygmt-dev--2410.org.readthedocs.build/en/2410/gallery/histograms/scatter_and_histograms.html
Reminders
make formatandmake checkto make sure the code follows the style guide.doc/api/index.rst.Slash Commands
You can write slash commands (
/command) in the first line of a comment to performspecific operations. Supported slash commands are:
/format: automatically format and lint the code/test-gmt-dev: run full tests on the latest GMT development version