Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

bump Plotly.js to 2.9.0 #3590

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

Merged
merged 1 commit into from
Feb 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
bump Plotly.js to 2.9.0
  • Loading branch information
nicolaskruchten committed Feb 9, 2022
commit bb1bc95b3225f577871c8ca35ea970787355f97c
8 changes: 8 additions & 0 deletions 8 CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,14 @@ All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).


## UNRELEASED

### Updated
- Updated Plotly.js to from version 2.8.3 to version 2.9.0. See the [plotly.js CHANGELOG](https://github.com/plotly/plotly.js/blob/master/CHANGELOG.md#290----2022-02-04) for more information. Notable changes include:
- Implement `ticklabelstep` to reduce labels on cartesian axes and colorbars
- Display the version of plotly.js when hovering over the modebar


## [5.5.0] - 2021-12-20

### Added
Expand Down
20 changes: 10 additions & 10 deletions 20 packages/javascript/jupyterlab-plotly/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion 2 packages/javascript/jupyterlab-plotly/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
"@lumino/messaging": "^1.2.3",
"@lumino/widgets": "^1.8.1",
"lodash": "^4.17.4",
"plotly.js": "^2.8.3"
"plotly.js": "^2.9.0"
},
"jupyterlab": {
"extension": "lib/jupyterlab-plugin",
Expand Down
315 changes: 315 additions & 0 deletions 315 packages/python/plotly/codegen/resources/plot-schema.json

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions 10 packages/python/plotly/plotly/graph_objs/_choropleth.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,16 @@ def colorbar(self):
to the ticks. Left and right options are used
when `orientation` is "h", top and bottom when
`orientation` is "v".
ticklabelstep
Sets the spacing between tick labels as
compared to the spacing between ticks. A value
of 1 (default) means each tick gets a label. A
value of 2 means shows every 2nd label. A
larger value n means only every nth tick is
labeled. `tick0` determines which labels are
shown. Not implemented for axes with `type`
"log" or "multicategory", or when `tickmode` is
"array".
ticklen
Sets the tick length (in px).
tickmode
Expand Down
10 changes: 10 additions & 0 deletions 10 packages/python/plotly/plotly/graph_objs/_choroplethmapbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -299,6 +299,16 @@ def colorbar(self):
to the ticks. Left and right options are used
when `orientation` is "h", top and bottom when
`orientation` is "v".
ticklabelstep
Sets the spacing between tick labels as
compared to the spacing between ticks. A value
of 1 (default) means each tick gets a label. A
value of 2 means shows every 2nd label. A
larger value n means only every nth tick is
labeled. `tick0` determines which labels are
shown. Not implemented for axes with `type`
"log" or "multicategory", or when `tickmode` is
"array".
ticklen
Sets the tick length (in px).
tickmode
Expand Down
10 changes: 10 additions & 0 deletions 10 packages/python/plotly/plotly/graph_objs/_cone.py
Original file line number Diff line number Diff line change
Expand Up @@ -400,6 +400,16 @@ def colorbar(self):
to the ticks. Left and right options are used
when `orientation` is "h", top and bottom when
`orientation` is "v".
ticklabelstep
Sets the spacing between tick labels as
compared to the spacing between ticks. A value
of 1 (default) means each tick gets a label. A
value of 2 means shows every 2nd label. A
larger value n means only every nth tick is
labeled. `tick0` determines which labels are
shown. Not implemented for axes with `type`
"log" or "multicategory", or when `tickmode` is
"array".
ticklen
Sets the tick length (in px).
tickmode
Expand Down
10 changes: 10 additions & 0 deletions 10 packages/python/plotly/plotly/graph_objs/_contour.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,6 +321,16 @@ def colorbar(self):
to the ticks. Left and right options are used
when `orientation` is "h", top and bottom when
`orientation` is "v".
ticklabelstep
Sets the spacing between tick labels as
compared to the spacing between ticks. A value
of 1 (default) means each tick gets a label. A
value of 2 means shows every 2nd label. A
larger value n means only every nth tick is
labeled. `tick0` determines which labels are
shown. Not implemented for axes with `type`
"log" or "multicategory", or when `tickmode` is
"array".
ticklen
Sets the tick length (in px).
tickmode
Expand Down
10 changes: 10 additions & 0 deletions 10 packages/python/plotly/plotly/graph_objs/_contourcarpet.py
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,16 @@ def colorbar(self):
to the ticks. Left and right options are used
when `orientation` is "h", top and bottom when
`orientation` is "v".
ticklabelstep
Sets the spacing between tick labels as
compared to the spacing between ticks. A value
of 1 (default) means each tick gets a label. A
value of 2 means shows every 2nd label. A
larger value n means only every nth tick is
labeled. `tick0` determines which labels are
shown. Not implemented for axes with `type`
"log" or "multicategory", or when `tickmode` is
"array".
ticklen
Sets the tick length (in px).
tickmode
Expand Down
10 changes: 10 additions & 0 deletions 10 packages/python/plotly/plotly/graph_objs/_densitymapbox.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,16 @@ def colorbar(self):
to the ticks. Left and right options are used
when `orientation` is "h", top and bottom when
`orientation` is "v".
ticklabelstep
Sets the spacing between tick labels as
compared to the spacing between ticks. A value
of 1 (default) means each tick gets a label. A
value of 2 means shows every 2nd label. A
larger value n means only every nth tick is
labeled. `tick0` determines which labels are
shown. Not implemented for axes with `type`
"log" or "multicategory", or when `tickmode` is
"array".
ticklen
Sets the tick length (in px).
tickmode
Expand Down
10 changes: 10 additions & 0 deletions 10 packages/python/plotly/plotly/graph_objs/_heatmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,16 @@ def colorbar(self):
to the ticks. Left and right options are used
when `orientation` is "h", top and bottom when
`orientation` is "v".
ticklabelstep
Sets the spacing between tick labels as
compared to the spacing between ticks. A value
of 1 (default) means each tick gets a label. A
value of 2 means shows every 2nd label. A
larger value n means only every nth tick is
labeled. `tick0` determines which labels are
shown. Not implemented for axes with `type`
"log" or "multicategory", or when `tickmode` is
"array".
ticklen
Sets the tick length (in px).
tickmode
Expand Down
10 changes: 10 additions & 0 deletions 10 packages/python/plotly/plotly/graph_objs/_heatmapgl.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,16 @@ def colorbar(self):
to the ticks. Left and right options are used
when `orientation` is "h", top and bottom when
`orientation` is "v".
ticklabelstep
Sets the spacing between tick labels as
compared to the spacing between ticks. A value
of 1 (default) means each tick gets a label. A
value of 2 means shows every 2nd label. A
larger value n means only every nth tick is
labeled. `tick0` determines which labels are
shown. Not implemented for axes with `type`
"log" or "multicategory", or when `tickmode` is
"array".
ticklen
Sets the tick length (in px).
tickmode
Expand Down
10 changes: 10 additions & 0 deletions 10 packages/python/plotly/plotly/graph_objs/_histogram2d.py
Original file line number Diff line number Diff line change
Expand Up @@ -359,6 +359,16 @@ def colorbar(self):
to the ticks. Left and right options are used
when `orientation` is "h", top and bottom when
`orientation` is "v".
ticklabelstep
Sets the spacing between tick labels as
compared to the spacing between ticks. A value
of 1 (default) means each tick gets a label. A
value of 2 means shows every 2nd label. A
larger value n means only every nth tick is
labeled. `tick0` determines which labels are
shown. Not implemented for axes with `type`
"log" or "multicategory", or when `tickmode` is
"array".
ticklen
Sets the tick length (in px).
tickmode
Expand Down
10 changes: 10 additions & 0 deletions 10 packages/python/plotly/plotly/graph_objs/_histogram2dcontour.py
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,16 @@ def colorbar(self):
to the ticks. Left and right options are used
when `orientation` is "h", top and bottom when
`orientation` is "v".
ticklabelstep
Sets the spacing between tick labels as
compared to the spacing between ticks. A value
of 1 (default) means each tick gets a label. A
value of 2 means shows every 2nd label. A
larger value n means only every nth tick is
labeled. `tick0` determines which labels are
shown. Not implemented for axes with `type`
"log" or "multicategory", or when `tickmode` is
"array".
ticklen
Sets the tick length (in px).
tickmode
Expand Down
10 changes: 10 additions & 0 deletions 10 packages/python/plotly/plotly/graph_objs/_isosurface.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,16 @@ def colorbar(self):
to the ticks. Left and right options are used
when `orientation` is "h", top and bottom when
`orientation` is "v".
ticklabelstep
Sets the spacing between tick labels as
compared to the spacing between ticks. A value
of 1 (default) means each tick gets a label. A
value of 2 means shows every 2nd label. A
larger value n means only every nth tick is
labeled. `tick0` determines which labels are
shown. Not implemented for axes with `type`
"log" or "multicategory", or when `tickmode` is
"array".
ticklen
Sets the tick length (in px).
tickmode
Expand Down
20 changes: 20 additions & 0 deletions 20 packages/python/plotly/plotly/graph_objs/_layout.py
Original file line number Diff line number Diff line change
Expand Up @@ -4242,6 +4242,16 @@ def xaxis(self):
axes linked by `matches` or `scaleanchor`, no
extra padding for inside labels would be added
by autorange, so that the scales could match.
ticklabelstep
Sets the spacing between tick labels as
compared to the spacing between ticks. A value
of 1 (default) means each tick gets a label. A
value of 2 means shows every 2nd label. A
larger value n means only every nth tick is
labeled. `tick0` determines which labels are
shown. Not implemented for axes with `type`
"log" or "multicategory", or when `tickmode` is
"array".
ticklen
Sets the tick length (in px).
tickmode
Expand Down Expand Up @@ -4727,6 +4737,16 @@ def yaxis(self):
axes linked by `matches` or `scaleanchor`, no
extra padding for inside labels would be added
by autorange, so that the scales could match.
ticklabelstep
Sets the spacing between tick labels as
compared to the spacing between ticks. A value
of 1 (default) means each tick gets a label. A
value of 2 means shows every 2nd label. A
larger value n means only every nth tick is
labeled. `tick0` determines which labels are
shown. Not implemented for axes with `type`
"log" or "multicategory", or when `tickmode` is
"array".
ticklen
Sets the tick length (in px).
tickmode
Expand Down
10 changes: 10 additions & 0 deletions 10 packages/python/plotly/plotly/graph_objs/_mesh3d.py
Original file line number Diff line number Diff line change
Expand Up @@ -482,6 +482,16 @@ def colorbar(self):
to the ticks. Left and right options are used
when `orientation` is "h", top and bottom when
`orientation` is "v".
ticklabelstep
Sets the spacing between tick labels as
compared to the spacing between ticks. A value
of 1 (default) means each tick gets a label. A
value of 2 means shows every 2nd label. A
larger value n means only every nth tick is
labeled. `tick0` determines which labels are
shown. Not implemented for axes with `type`
"log" or "multicategory", or when `tickmode` is
"array".
ticklen
Sets the tick length (in px).
tickmode
Expand Down
10 changes: 10 additions & 0 deletions 10 packages/python/plotly/plotly/graph_objs/_streamtube.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,6 +375,16 @@ def colorbar(self):
to the ticks. Left and right options are used
when `orientation` is "h", top and bottom when
`orientation` is "v".
ticklabelstep
Sets the spacing between tick labels as
compared to the spacing between ticks. A value
of 1 (default) means each tick gets a label. A
value of 2 means shows every 2nd label. A
larger value n means only every nth tick is
labeled. `tick0` determines which labels are
shown. Not implemented for axes with `type`
"log" or "multicategory", or when `tickmode` is
"array".
ticklen
Sets the tick length (in px).
tickmode
Expand Down
10 changes: 10 additions & 0 deletions 10 packages/python/plotly/plotly/graph_objs/_surface.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,6 +374,16 @@ def colorbar(self):
to the ticks. Left and right options are used
when `orientation` is "h", top and bottom when
`orientation` is "v".
ticklabelstep
Sets the spacing between tick labels as
compared to the spacing between ticks. A value
of 1 (default) means each tick gets a label. A
value of 2 means shows every 2nd label. A
larger value n means only every nth tick is
labeled. `tick0` determines which labels are
shown. Not implemented for axes with `type`
"log" or "multicategory", or when `tickmode` is
"array".
ticklen
Sets the tick length (in px).
tickmode
Expand Down
10 changes: 10 additions & 0 deletions 10 packages/python/plotly/plotly/graph_objs/_volume.py
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,16 @@ def colorbar(self):
to the ticks. Left and right options are used
when `orientation` is "h", top and bottom when
`orientation` is "v".
ticklabelstep
Sets the spacing between tick labels as
compared to the spacing between ticks. A value
of 1 (default) means each tick gets a label. A
value of 2 means shows every 2nd label. A
larger value n means only every nth tick is
labeled. `tick0` determines which labels are
shown. Not implemented for axes with `type`
"log" or "multicategory", or when `tickmode` is
"array".
ticklen
Sets the tick length (in px).
tickmode
Expand Down
10 changes: 10 additions & 0 deletions 10 packages/python/plotly/plotly/graph_objs/bar/_marker.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,16 @@ def colorbar(self):
to the ticks. Left and right options are used
when `orientation` is "h", top and bottom when
`orientation` is "v".
ticklabelstep
Sets the spacing between tick labels as
compared to the spacing between ticks. A value
of 1 (default) means each tick gets a label. A
value of 2 means shows every 2nd label. A
larger value n means only every nth tick is
labeled. `tick0` determines which labels are
shown. Not implemented for axes with `type`
"log" or "multicategory", or when `tickmode` is
"array".
ticklen
Sets the tick length (in px).
tickmode
Expand Down
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.