Add gallery example for scatter plot with histograms on sides#2410
Add gallery example for scatter plot with histograms on sides#2410
Conversation
|
/format |
Co-authored-by: Yvonne Fröhlich <94163266+yvonnefroehlich@users.noreply.github.com>
|
/format |
Co-authored-by: Dongdong Tian <seisman.info@gmail.com>
Co-authored-by: Dongdong Tian <seisman.info@gmail.com>
|
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 <94163266+yvonnefroehlich@users.noreply.github.com>
weiji14
left a comment
There was a problem hiding this comment.
Nice example! Just two minor suggestions.
Co-authored-by: Wei Ji <23487320+weiji14@users.noreply.github.com>
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