Skip to content

Missing colorbars in examples #2030

Closed

Description

@yvonnefroehlich

In two examples a colormap is used but the corresponding colorbar is missing.

This limits the interpretability of the figures (especially for Sampling along tracks). Thus, I think a colorbar should be added.

Activity

  1. added
    documentation
    on Jul 30, 2022
  2. added this to the 0.8.0 milestone on Jul 30, 2022
  3. seisman commented on Jul 30, 2022

    @seisman
    Member

    I agree with you on both examples. Ping the original authors for comments before making the changes @willschlitzer @weiji14.

  4. yvonnefroehlich commented on Sep 18, 2022

    @yvonnefroehlich
    MemberAuthor

    May I ask what the status of this issue is? Meaning, is it welcome by the original authors @willschlitzer and @weiji14 that colorbars are added to their examples, or should these two examples remain unchanged? In the first case, is it fine that I work on this, if I have time? Or do you prefer to make these changes on your own, which is of course totally fine for me?

  5. weiji14 commented on Sep 18, 2022

    @weiji14
    Member

    Oh yes, you are welcome to add colorbars to both examples. Let me assign you to the issue, and thanks for volunteering to help out!

  6. yvonnefroehlich commented on Sep 19, 2022

    @yvonnefroehlich
    MemberAuthor

    Oh yes, you are welcome to add colorbars to both examples. Let me assign you to the issue, and thanks for volunteering to help out!

    Thanks @weiji14. Is it fine, if I split this issue into two PRs, one per example?

  7. weiji14 commented on Sep 19, 2022

    @weiji14
    Member

    Oh yes, you are welcome to add colorbars to both examples. Let me assign you to the issue, and thanks for volunteering to help out!

    Thanks @weiji14. Is it fine, if I split this issue into two PRs, one per example?

    Two in one PR should be fine for this.

  8. modified the milestones: 0.8.0, 0.9.0 on Dec 28, 2022
  9. yvonnefroehlich commented on Dec 28, 2022

    @yvonnefroehlich
    MemberAuthor

    Original posts by @weiji14 (#2190 (review)) and @seisman (#2190 (comment)) regarding gallery example track_sampling.py

    The original intention of the track_sampling.py gallery example added in #308 was to showcase the grdtrack data processing function, rather than as a proper 'map' per se.

    Personally, I feel that having just one colorbar (the normalized elevation one) would be enough, since the background grayscale earth_relief elevation is just for context. But I also find normalized elevation to be hard to interpret (see my comment below), so not sure what's a good plan forward 😅 What are your thoughts?

    Perhaps we can rewrite the grdtrack example to something like (https://docs.gmt-china.org/latest/examples/ex026/):
    image

  10. weiji14 commented on Dec 28, 2022

    @weiji14
    Member

    Probably better to mention the grdtrack gallery example redesign in a separate issue. Can you open one @yvonnefroehlich?

  11. yvonnefroehlich commented on Dec 28, 2022

    @yvonnefroehlich
    MemberAuthor

    Probably better to mention the grdtrack gallery example redesign in a separate issue. Can you open one @yvonnefroehlich?

    Yep, sure, please see #2282.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

documentation

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions