Skip to content

Commit 0eed6a2

Browse files
author
Ioannis Giagkiozis
committed
Closes #45.
1 parent c052696 commit 0eed6a2

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010
### Changed
1111
- Using plotly version 2.2.1
1212
- Updated Kaleido version in `plotly_kaleido` to 0.2.1.
13+
### Fixed
14+
- Axis ticks text has the wrong parameter name (Issue #45).
1315

1416
## [0.6.0] - 2021-01-31
1517
### Added

plotly/src/layout.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -741,7 +741,7 @@ pub struct Axis {
741741

742742
#[serde(skip_serializing_if = "Option::is_none", rename = "tickvals")]
743743
tick_values: Option<Vec<f64>>,
744-
#[serde(skip_serializing_if = "Option::is_none", rename = "tick_text")]
744+
#[serde(skip_serializing_if = "Option::is_none", rename = "ticktext")]
745745
tick_text: Option<Vec<String>>,
746746
#[serde(skip_serializing_if = "Option::is_none")]
747747
ticks: Option<TicksDirection>,

0 commit comments

Comments
 (0)