Specifying tick_labels for non-categorical data produces unexpected results.

Open
#7 0 comments 0 reactions 1 assignee View on GitHub

@xenct is already working on this.

Since Jul 8, 2024.

Assessment

This issue has not been assessed yet.

Description

bug

A user may specify tick_labels for non-categorical data because they want to display units or convert the raw values to something more readable (eg percentage (50%) rather than the proportion (0.5)).
Currently, if tick_labels are specified, the function will assume that you are defining categorical data. This may result in unexpected behaviour such as moving the tick_labels to the centre of the ticks and/or disabling contour mapping.
The requested behaviour is to change the labels of the ticks without modifying these other things.

Dominant language
Jupyter Notebook
Stars
8
Forks
1
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from AusClimateService/plotting_maps

All issues in AusClimateService/plotting_maps

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.