You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+9
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,15 @@ This project adheres to [Semantic Versioning](http://semver.org/).
4
4
5
5
## [UNRELEASED]
6
6
7
+
### Updated
8
+
- Updated Plotly.js from version 2.26.0 to version 2.27.0. See the [plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/master/CHANGELOG.md#2270----2023-10-20) for more information. These changes are reflected in the auto-generated `plotly.graph_objects` module. Notable changes include:
9
+
- Add `insiderange` to cartesian axes to help avoid overlap between visible grid lines and tick labels of the counter axis when they are positioned inside [[#6735](https://github.com/plotly/plotly.js/pull/6735)], this feature was anonymously sponsored: thank you to our sponsor!
10
+
- Fix column order changes on hover [[#6718](https://github.com/plotly/plotly.js/pull/6718)],
11
+
with thanks to @bhavinpatel1109 for the contribution!
12
+
- Fix hover at timestamp '1970-01-01 00:00:00' [[#6752](https://github.com/plotly/plotly.js/pull/6752)],
13
+
with thanks to @adamjhawley for the contribution!
14
+
- Fix clearing empty `candlestick` using react [[#6757](https://github.com/plotly/plotly.js/pull/6757)]
15
+
7
16
### Fixed
8
17
- Repair crash on Matplotlib 3.8 related to get_offset_position [[#4372](https://github.com/plotly/plotly.py/pull/4372)],
9
18
- Handle deprecation of `pandas.Series.dt.to_pydatetime()` calls and suppress the `FutureWarning` they currently emit. [[#4379](https://github.com/plotly/plotly.py/pull/4379)]
You can use `insiderange` instead of `range` on an axis if you have tick labels positioned on the inside of another axis and you don't want the range to overlap with those labels.
567
+
568
+
In this example, we have a y axis with `ticklabelposition="inside"` and by setting `insiderange=['2018-10-01', '2019-01-01']` on the x axis, the data point of `2018-10-01` is displayed after the y axis labels.
Copy file name to clipboardExpand all lines: packages/python/plotly/codegen/resources/plot-schema.json
+30
Original file line number
Diff line number
Diff line change
@@ -10892,6 +10892,21 @@
10892
10892
"editType": "none",
10893
10893
"valType": "string"
10894
10894
},
10895
+
"insiderange": {
10896
+
"description": "Could be used to set the desired inside range of this axis (excluding the labels) when `ticklabelposition` of the anchored axis has *inside*. Not implemented for axes with `type` *log*. This would be ignored when `range` is provided.",
10897
+
"editType": "plot",
10898
+
"items": [
10899
+
{
10900
+
"editType": "plot",
10901
+
"valType": "any"
10902
+
},
10903
+
{
10904
+
"editType": "plot",
10905
+
"valType": "any"
10906
+
}
10907
+
],
10908
+
"valType": "info_array"
10909
+
},
10895
10910
"labelalias": {
10896
10911
"description": "Replacement text for specific tick or hover labels. For example using {US: 'USA', CA: 'Canada'} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash. That means you need to use −1 instead of -1. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.",
10897
10912
"dflt": false,
@@ -12217,6 +12232,21 @@
12217
12232
"editType": "none",
12218
12233
"valType": "string"
12219
12234
},
12235
+
"insiderange": {
12236
+
"description": "Could be used to set the desired inside range of this axis (excluding the labels) when `ticklabelposition` of the anchored axis has *inside*. Not implemented for axes with `type` *log*. This would be ignored when `range` is provided.",
12237
+
"editType": "plot",
12238
+
"items": [
12239
+
{
12240
+
"editType": "plot",
12241
+
"valType": "any"
12242
+
},
12243
+
{
12244
+
"editType": "plot",
12245
+
"valType": "any"
12246
+
}
12247
+
],
12248
+
"valType": "info_array"
12249
+
},
12220
12250
"labelalias": {
12221
12251
"description": "Replacement text for specific tick or hover labels. For example using {US: 'USA', CA: 'Canada'} changes US to USA and CA to Canada. The labels we would have shown must match the keys exactly, after adding any tickprefix or ticksuffix. For negative numbers the minus sign symbol used (U+2212) is wider than the regular ascii dash. That means you need to use −1 instead of -1. labelalias can be used with any axis type, and both keys (if needed) and values (if desired) can include html-like tags or MathJax.",
0 commit comments