Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DRY workflows and ColorBar snap tick labels to nice values #22

Merged
merged 8 commits into from
Apr 3, 2023

Commits on Apr 2, 2023

  1. DRY workflows

    janosh committed Apr 2, 2023
    Configuration menu
    Copy the full SHA
    6c6338f View commit details
    Browse the repository at this point in the history
  2. update deps

    janosh committed Apr 2, 2023
    Configuration menu
    Copy the full SHA
    92d4f31 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2bcc499 View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2023

  1. add props snap_ticks, ramp_points, nice_range to ColorBar

    remove prop precision, seems to be well handled by d3.scaleLinear.nice()
    janosh committed Apr 3, 2023
    Configuration menu
    Copy the full SHA
    30ffa40 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f3ecd7e View commit details
    Browse the repository at this point in the history
  3. refactor pretty_num() to use d3.format() with SI units for abs(num) >…

    … 1 and floating or exponential for abs(num) < 1
    janosh committed Apr 3, 2023
    Configuration menu
    Copy the full SHA
    3863a6c View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5ad957c View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    96bee31 View commit details
    Browse the repository at this point in the history