Skip to content

[RFC][ENH] OWScatterPlot: axis displays time specific labels for time variable#4434

Merged
ajdapretnar merged 1 commit intobiolab:masterfrom
robertcv:enh/add_time_axis
Feb 21, 2020
Merged

[RFC][ENH] OWScatterPlot: axis displays time specific labels for time variable#4434
ajdapretnar merged 1 commit intobiolab:masterfrom
robertcv:enh/add_time_axis

Conversation

@robertcv
Copy link
Copy Markdown
Collaborator

Issue

Fixes #4395

Additional information

The labels can be changed according to strftime if anybody finds a better formating. It still doesn't look particularly nice when displaying days and hours. I also tried using binning short_labels but they didn't seem that nice.

The timezone.utc is used becous of a Python datetime bug.

Includes
  • Code changes
  • Tests
  • Documentation

@codecov
Copy link
Copy Markdown

codecov bot commented Feb 17, 2020

Codecov Report

Merging #4434 into master will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #4434      +/-   ##
==========================================
+ Coverage   87.44%   87.46%   +0.01%     
==========================================
  Files         405      405              
  Lines       74083    74201     +118     
==========================================
+ Hits        64785    64897     +112     
- Misses       9298     9304       +6     

@ajdapretnar ajdapretnar merged commit cb6679d into biolab:master Feb 21, 2020
@robertcv robertcv deleted the enh/add_time_axis branch April 9, 2020 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Scatter plot shows floats instead of dates on axes

2 participants