GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Make sure only low and high contributes to decimal count in colorb -S+r by PaulWessel · Pull Request #7730 · GenericMappingTools/gmt

Conversation

@PaulWessel

@PaulWessel PaulWessel commented Aug 16, 2023

Copy link
Copy Markdown
Contributor

We want to skip the intermediate potential annotation when determining the max number of decimals needed. E.g., if min = -100, max = +100, and slices are 12.5 apart we want the two annotations -100 and +100, not -100.0 and 100.0.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@PaulWessel
Make sure only low and high contributes to decimal count in colorbar …
3f1da14
…-S+r

We want to skip the intermediate potential annotation when determining the max number of decimals needed.  E.g., if min = -100, max = +100, and slices are 12.5 apart we want the two annotations -100 and +100, not -100.0 and 100.0.
@PaulWessel PaulWessel added the enhancement Improving an existing feature label Aug 16, 2023
@PaulWessel PaulWessel added this to the 6.5.0 milestone Aug 16, 2023
@PaulWessel
PaulWessel requested a review from joa-quim August 16, 2023 11:14
@PaulWessel PaulWessel self-assigned this Aug 16, 2023
joa-quim
joa-quim approved these changes Aug 16, 2023
View reviewed changes
@PaulWessel
PaulWessel merged commit 6d37c00 into master Aug 16, 2023
@PaulWessel
PaulWessel deleted the ndec-fix branch August 16, 2023 11:56
seisman pushed a commit that referenced this pull request Aug 17, 2023
@PaulWessel @seisman
Make sure only low and high contributes to decimal count in colorbar …
6017ee0
…-S+r (#7730)

We want to skip the intermediate potential annotation when determining the max number of decimals needed.  E.g., if min = -100, max = +100, and slices are 12.5 apart we want the two annotations -100 and +100, not -100.0 and 100.0.
@maxrjones maxrjones added the add-changelog Add PR to the changelog label Dec 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@joa-quim joa-quim joa-quim approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@PaulWessel PaulWessel

Labels

add-changelog Add PR to the changelog enhancement Improving an existing feature

Projects

None yet

Milestone

6.5.0

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@PaulWessel @joa-quim @maxrjones
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.