Skip to content

Add cluster features to scattermapbox trace #5147

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

Closed
wants to merge 672 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
672 commits
Select commit Hold shift + click to select a range
01115cd
Update src/plots/layout_attributes.js
archmoj Nov 2, 2020
8e64281
888: changed transformPlot fn, added dragzoom test
alexhartstone Nov 3, 2020
fb67c82
revise new attribute names and val types
archmoj Nov 3, 2020
aad34f1
Merge pull request #5232 from thierryVergult/treemapDrilldown
archmoj Nov 3, 2020
03ea08d
handle rootcolor and adopt tests
archmoj Nov 3, 2020
b5caa8f
Merge pull request #5245 from plotly/rootcolor-tests
archmoj Nov 3, 2020
f1c0e31
add early return for empty arrays to test category case and a bit of …
archmoj Nov 4, 2020
1977f12
Fix based on review comments
s417-lama Nov 4, 2020
837761c
maintain detecting dates using strict mode
archmoj Nov 4, 2020
ff0b32e
Merge pull request #5212 from s417-lama/legend_itemwidth
archmoj Nov 4, 2020
b73d395
pass convertNumeric to linearOK and category
archmoj Nov 4, 2020
0224fa0
store type of
archmoj Nov 4, 2020
d218bab
add early return for dates - remove unnecessary early return in linea…
archmoj Nov 4, 2020
b800a65
add early returns - array of arrays is not relevant to date, category…
archmoj Nov 4, 2020
f6d8c39
flat input array before passing to autoType functions
archmoj Nov 4, 2020
560405c
revert description change
archmoj Nov 4, 2020
4697f9c
flat 2d arrays before passing to autotypes
archmoj Nov 4, 2020
dbc5232
888: select test
alexhartstone Nov 4, 2020
07b934b
888: more flexible transform testing
alexhartstone Nov 4, 2020
96d7511
Merge pull request #5237 from plotly/fix4459-labels-disappear
archmoj Nov 4, 2020
688438c
handle typed arrays inside a 2d array - plus a bit of optimization
archmoj Nov 4, 2020
e02deaf
add tests for autotype - case of 2d arrays
archmoj Nov 4, 2020
4b5bfcc
correct keys in description
archmoj Nov 4, 2020
08aa300
drop unused option in ternary
archmoj Nov 4, 2020
1198e56
add noMultiCategory option for polar
archmoj Nov 4, 2020
99a2015
apply layout.calnedar and layout.autotypenumbers in box defaults
archmoj Nov 4, 2020
6fdf559
fixup box plot test to have a layout object
archmoj Nov 4, 2020
4e09ad3
Merge pull request #5240 from plotly/disable-convertnumeric-in-autotype
archmoj Nov 4, 2020
d75c018
888: polar hover test
alexhartstone Nov 5, 2020
24530b2
Fix broken link
ChaosEx Nov 5, 2020
c638fd6
Merge pull request #5253 from TeeVenDick/master
archmoj Nov 5, 2020
89666f8
centralize functions for adding 2d translate, uniform scale and simpl…
archmoj Nov 5, 2020
15c4fa0
remove unused condition check
archmoj Nov 5, 2020
c09fe29
Merge pull request #5254 from plotly/lib-transform-funcs
archmoj Nov 5, 2020
807de62
Fix typo in Czech locale file
helb Nov 6, 2020
e62219a
Merge pull request #5255 from helb/cs-locale-typo
archmoj Nov 6, 2020
d31244a
888: fix polar dragzoom
alexhartstone Nov 9, 2020
894a2eb
Support opacity
Nov 9, 2020
fcb9800
Fix role
Nov 9, 2020
5cd1157
Fix mock
Nov 9, 2020
1715133
Fix edittype
Nov 9, 2020
6b234f1
Reuse maxzoom from mapbox plot
Nov 9, 2020
9b38fa2
Fix syntax error
Nov 9, 2020
13ce0f0
update flaky list
archmoj Nov 9, 2020
11df3f6
more mock validation
archmoj Nov 9, 2020
a232c90
Merge pull request #5257 from plotly/fixup-image-tests
archmoj Nov 9, 2020
52d6e67
bump some dev deps
archmoj Nov 9, 2020
98dfdb8
Merge pull request #5258 from plotly/bump-dev-deps-Nov09-20
archmoj Nov 9, 2020
94f685f
888: fixed cartesian pan
alexhartstone Nov 10, 2020
435945b
888: use scale factors in polar too for performance
alexhartstone Nov 10, 2020
0d1db3f
Refactor to extract lookupBelow and findFollowingMapboxLayerId functions
jonmmease Nov 12, 2020
0f5e491
fix issue 5267 - pick correct categories and values pluse a bit of op…
archmoj Nov 12, 2020
82fbdcd
Reorder layer in updateImage to match what updateLayer would do
jonmmease Nov 12, 2020
e240ce6
Handle layer.source as arrays in equality check
jonmmease Nov 12, 2020
b95a0a5
add test to lock issue 5267
archmoj Nov 12, 2020
a51b91f
Merge pull request #5268 from plotly/fix5267-cartesian-category-values
archmoj Nov 12, 2020
4054735
Extend the updateImage mapbox test to check layer order
jonmmease Nov 12, 2020
a382098
Merge pull request #5269 from plotly/mapbox_layer_order
archmoj Nov 13, 2020
4da7e58
declare calcBreaksLength once
archmoj Nov 9, 2020
3ea0bb7
refactor inside and outside ticks
archmoj Nov 9, 2020
c7a23b4
fix issue 5262
archmoj Nov 12, 2020
a9d9140
rename axes.makeTransFn to makeTransTickFn
archmoj Nov 5, 2020
ee2d648
rename transFn function in cartesian axes
archmoj Nov 5, 2020
fa07cc5
create makeTransTickLabelFn and handle period case inside it
archmoj Nov 5, 2020
9e63c04
implement ticklabelposition for cartesian axes
archmoj Nov 13, 2020
7a6fd0f
add image tests
archmoj Nov 13, 2020
c5ff836
- Fix array support for opacity
Nov 15, 2020
1f42ee2
Remove scatter cluster mapbox
Nov 15, 2020
4b083e1
Fix syntax error
Nov 15, 2020
f3c03cd
888: assign scales at makePlotFramework
alexhartstone Nov 16, 2020
23b4d3c
888: fix polar plot rotation
alexhartstone Nov 16, 2020
84ede31
888: fix alignHTMLWith
archmoj Nov 16, 2020
4b1bf62
888: various syntax fixes
archmoj Nov 16, 2020
d3b548f
888: adjust scatter mapbox hover when css transition is present
archmoj Nov 16, 2020
4e1fd5f
drop unused argument
archmoj Nov 16, 2020
76afc6c
a bit of optimization in choropleth/hover - avoid creating the same a…
archmoj Nov 16, 2020
0117b41
888: fixup scattermapbox both select and hover
archmoj Nov 16, 2020
4980e24
return correct latitude and longitude from mapbox p2c
archmoj Nov 16, 2020
88b24f6
offsetX and offsetY are now implemented in FireFox - remove from blac…
archmoj Nov 17, 2020
42aabe1
rework matching & scaleanchor so they work together
alexcjohnson Nov 12, 2020
b2eed52
888: added polar drag and select tests
alexhartstone Nov 17, 2020
8cc496c
fixup polar test
archmoj Nov 17, 2020
1dee019
expand and fix tests
archmoj Nov 17, 2020
02b6f79
removed hacky clientX and clientY from scattermaobox events
archmoj Nov 17, 2020
805d97b
add scattermapbox tests when css transform is present
archmoj Nov 17, 2020
127f171
expand choropleth hover tests to cover css transform
archmoj Nov 17, 2020
12a57c9
expand choroplethmapbox hover tests to cover css transform
archmoj Nov 17, 2020
34845ec
expand select tests for various traces to cover css transform
archmoj Nov 18, 2020
29e772d
expand ternary hover and drag zoom tests to cover css transform
archmoj Nov 18, 2020
28a9178
remove dirty matrix validation - take care of matrix3d form instead
archmoj Nov 18, 2020
a2f34c9
adjust hover positions on parcats category bands in respect to css tr…
archmoj Nov 18, 2020
9fe42b6
adjust hover positions on sankey nodes in respect to css transforms
archmoj Nov 18, 2020
d76a304
compounding aspect ratios edge case test, and minor scale/match inter…
alexcjohnson Nov 18, 2020
5681a34
bypass test
archmoj Nov 18, 2020
e94ef47
bapass on more flaky test to pass on the CI
archmoj Nov 18, 2020
9cc0a15
integrate fullLayout inverseTransform and m shorthand
archmoj Nov 18, 2020
95a81fc
refactor polar fix
archmoj Nov 18, 2020
4afc441
Merge pull request #5193 from Displayr/888-style-transforms
archmoj Nov 18, 2020
c262d4b
store and use ticklabel bounding boxes to increase pad for inside labels
archmoj Nov 18, 2020
74f594d
autorange call to account extra pad for inside tick labels
archmoj Nov 18, 2020
5ca95d3
save initial ranges after insideticklabel is done
archmoj Nov 19, 2020
8a34a95
better fit based on tick angle - increase pad only when text does not…
archmoj Nov 19, 2020
13acf8a
baseline images altered by improved matching axes autorange
alexcjohnson Nov 19, 2020
22e9519
ensure plotinfo in axes redraw
archmoj Nov 19, 2020
95751cb
reset autorange flag for inside tick labels during GUI edits
archmoj Nov 19, 2020
ab37122
fixup interactions
archmoj Nov 19, 2020
52b5051
address issue 5289 - set false locale
archmoj Nov 19, 2020
0a21710
address issue 5289 - use if block instead of loop
archmoj Nov 19, 2020
aa6f442
Merge pull request #5293 from plotly/fix5289-gcc
archmoj Nov 19, 2020
ba58472
bump events to v3 in glslify
archmoj Nov 19, 2020
b1632b7
In staticPlot, do not draw zero length bars
antoinerg Nov 19, 2020
6a0ecd2
Merge pull request #5294 from plotly/remove-zero-length-bar-static-plot
antoinerg Nov 20, 2020
d9f4641
remove autorange duplication for matching axes
alexcjohnson Nov 20, 2020
b707c0f
fix tests & some edge cases uncovered by them
alexcjohnson Nov 20, 2020
bb70db7
fix a few baselines for updated matching autorange
alexcjohnson Nov 20, 2020
0f5c33c
update splom tests
alexcjohnson Nov 21, 2020
6d291c9
Merge branch 'master' into match-scale-aj
alexcjohnson Nov 21, 2020
1de111d
matches + scale interaction tests
alexcjohnson Nov 21, 2020
f78b46e
fix matches + rangebreaks, with a mock
alexcjohnson Nov 21, 2020
aaf33d3
remove TODO about rangebreaks - done :)
alexcjohnson Nov 21, 2020
f7baf5d
Merge pull request #5287 from plotly/match-scale-aj
alexcjohnson Nov 21, 2020
432e448
Merge remote-tracking branch 'origin/master' into ticklabelposition
archmoj Nov 21, 2020
e840f8f
update attribute description
archmoj Nov 23, 2020
2361958
revise ticklabelposition supply defaults
archmoj Nov 23, 2020
91ea2f6
validate new scaleanchor matches mocks
archmoj Nov 23, 2020
47c5773
hide out of range inside text labels during redraws
archmoj Nov 23, 2020
591b321
adjust padding for inside tick labels
archmoj Nov 23, 2020
bd379f8
improve overlap detection for aligned tick labels
archmoj Nov 23, 2020
05893b3
use lib function to convert from deg to rad
archmoj Nov 24, 2020
b5f09fb
revisit ticklabelposition logic
archmoj Nov 24, 2020
6e80dc9
fix issue 5301
archmoj Nov 24, 2020
21b59e4
fixups u and v
archmoj Nov 24, 2020
e01dc32
correct linewidth effect
archmoj Nov 24, 2020
b46327c
fixup tickangle for inside tick labels
archmoj Nov 25, 2020
aa57518
handle multi-line dates on x-axis
archmoj Nov 25, 2020
fe912ae
5291: recalculation of transforms on hover
alexhartstone Nov 25, 2020
70e708a
adjust pad for inside labels and make more room for end labels to appear
archmoj Nov 25, 2020
fa0f3b2
validate new mocks
archmoj Nov 25, 2020
26eb86a
reinstall glslify so that events bump to v3
archmoj Nov 25, 2020
c87cda6
add jsamine tests for ticklabelposition defaults
archmoj Nov 25, 2020
c59fcd9
clear function to hide inside tick labels and ensure subplot
archmoj Nov 25, 2020
d2c656d
simplify reading axis end positions to hide inside tick labels
archmoj Nov 25, 2020
d7423af
ensure ax._rl in hide function
archmoj Nov 25, 2020
cfd8e36
5291: make transform update func in fullLayout
alexhartstone Nov 26, 2020
2217f7c
5291: add transform recalc to prep funcs for various plots
alexhartstone Nov 26, 2020
60addca
compute linear range if not defined
archmoj Nov 26, 2020
a83d5af
add ticklabelposition option to colorbar
archmoj Nov 26, 2020
01efcf5
add inside and outside ticklabelposition options to mocks
archmoj Nov 26, 2020
5244a09
use fresh linear range in the hide function
archmoj Nov 26, 2020
a7518ec
add image test for issue 5301 - and before fixing another bug on the …
archmoj Nov 26, 2020
8efa7bd
adjust vertical ticklabels on x axes
archmoj Nov 26, 2020
2ff6cfb
revisit positioning of inside tick labels after bug fix
archmoj Nov 26, 2020
2108c8d
test another angle on the mock
archmoj Nov 26, 2020
a1d021b
adjustment for vertical tick labels inside
archmoj Nov 26, 2020
6f575a3
adjustment for vertical labels on the x axis and update baselines
archmoj Nov 26, 2020
0403aa7
5291: simplify recalculate fn name
alexhartstone Nov 26, 2020
3b9071f
5291: fixed syntax
alexhartstone Nov 27, 2020
8796f1b
5291: changed tests to do dynamic transforms
alexhartstone Nov 27, 2020
648c3c9
5291: fix syntax errors
alexhartstone Nov 27, 2020
0cf2a7f
add mock for reversed image that uses source
almarklein Nov 27, 2020
fb8d995
Reverse images as needed with css
almarklein Nov 27, 2020
fbaf868
fixup jasmine tests
archmoj Nov 27, 2020
3a5ca3a
ensure gd
archmoj Nov 27, 2020
189243f
formatting
almarklein Nov 27, 2020
0b2397a
fixup calcInverseTransform function and rename domRectsAreEqual
archmoj Nov 27, 2020
fe5ee9b
use shorter inverse keys for css transforms in gd._fullLayout
archmoj Nov 27, 2020
b97895f
remove unnecessary call at the end of makePlotFramework and call reca…
archmoj Nov 27, 2020
cdd836c
Merge pull request #5302 from Displayr/5291-dynamic-transforms
archmoj Nov 27, 2020
24c7699
remove jasmine tests that are no longer valid
almarklein Nov 29, 2020
0f0ca1f
Add jasmine test to validate that hover tool shows correct color rega…
almarklein Nov 29, 2020
2470532
Use strTranslate for cleaner code
almarklein Nov 29, 2020
7895727
Bit of suggested code refactoring
almarklein Nov 30, 2020
4d98780
fix test
almarklein Nov 30, 2020
a19b05b
remove mock
almarklein Nov 30, 2020
8ebfa71
improve test code
almarklein Nov 30, 2020
db00dea
also put autorange tests in
almarklein Nov 30, 2020
d4eadbd
correct style
archmoj Nov 30, 2020
e351d9b
simplify transform
almarklein Nov 30, 2020
632532f
fix transform, use linear ranges, fix tests, add mock
archmoj Nov 30, 2020
6d87753
Merge pull request #5307 from almarklein/reverse-y
archmoj Nov 30, 2020
5700db2
Merge pull request #5297 from plotly/bump-events-in-glslify
archmoj Nov 30, 2020
0e52adb
remove duplicate pad functions
archmoj Dec 1, 2020
999f877
revert guiEdit and fixup autorange interactions for inside tick labels
archmoj Dec 1, 2020
7b22175
revise axId scope
archmoj Dec 2, 2020
445eee4
fixup autorange on interactions
archmoj Dec 2, 2020
5f252f5
consider some offset from top of the bounding box when hiding a horiz…
archmoj Dec 2, 2020
90c3097
adjust position on bar_multiline_labels mock
archmoj Dec 2, 2020
40c09b7
add comment about U and V
archmoj Dec 2, 2020
08f3f04
Merge pull request #5275 from plotly/ticklabelposition
archmoj Dec 2, 2020
7527d55
update changelog for v1.58.0
archmoj Dec 2, 2020
4492a37
1.58.0
archmoj Dec 2, 2020
8c7a526
Fix contributer's name in CHANGELOG
s417-lama Dec 3, 2020
fa781ed
Merge pull request #5313 from s417-lama/changelog_typo
archmoj Dec 3, 2020
4a5a92c
Add scatterclustermapbox trace
Sep 14, 2020
7b1d507
Fix syntax error
Sep 14, 2020
54be4ae
Fix roles
Sep 14, 2020
7f1e699
Fix syntax
Sep 14, 2020
18eca7d
Format mock
Sep 14, 2020
fbc5666
Fix attributes
Sep 14, 2020
ee836ff
rename new mock, generate baseline and append new trace mock to the list
archmoj Sep 14, 2020
677f7c8
Share option functionality in scattermapbox and scatterclustermapbox
Sep 14, 2020
f07cae9
Fix linting
Sep 14, 2020
705468b
Add id to geojson and fix lines
Sep 14, 2020
e786754
Fix hover bug.
Sep 14, 2020
d00475a
Add clustering options to scattermapbox
Sep 14, 2020
0a345e3
Remove mock
Sep 14, 2020
0cbb4b5
Add hover functionality
Sep 14, 2020
75c1c39
Fix lint
Sep 14, 2020
43c219c
Remove legacy tests
Sep 14, 2020
0bc0328
Fix to old version
Sep 14, 2020
752060a
Fix legend selection/unselection
Sep 15, 2020
6e83a1c
Add test sample
Sep 15, 2020
5016156
Fix linting
Sep 15, 2020
43bb8f0
Add test
Sep 15, 2020
85b727f
Rewrite plot function
Sep 22, 2020
b16a694
Fix linting
Sep 22, 2020
4939d3b
Fix whitespace
Sep 24, 2020
0e61ce1
Fix whitespacae
Sep 24, 2020
1faa5b7
Fix linting
Sep 24, 2020
c5d67b6
Fix whitespace
Sep 24, 2020
95aedef
Add custom colors and sizes
Sep 24, 2020
eb799bc
lowercase attribute
Sep 24, 2020
4a37e2c
Fix default
Sep 24, 2020
97b8472
Update src/traces/scattermapbox/plot.js
elben10 Sep 24, 2020
f889df1
Add enabled to api
Sep 24, 2020
ed639f4
Fix addSource prototype
Sep 24, 2020
c902830
use indexOf instead of includes
Sep 24, 2020
0fe6ba2
Fix naming
Sep 24, 2020
de1dc20
Import core lib + update mock
Sep 28, 2020
c2f1ed4
Update src/traces/scattermapbox/convert.js
elben10 Sep 28, 2020
26e7791
Fix linting + remove comments
Sep 28, 2020
2ae0f1b
Fix typo
Sep 29, 2020
d23c597
Make code more readable + reuse marker attributes
Sep 29, 2020
9fc6f3c
Fix baseline
Sep 29, 2020
69d1589
Fix color and sizes
Sep 29, 2020
b03a18b
Fix typo
Sep 29, 2020
22abfa8
Change attributes to singular name + Refactor code
Oct 1, 2020
da9e6ec
Support opacity
Nov 9, 2020
68eea5c
Fix role
Nov 9, 2020
c6cfa77
Fix mock
Nov 9, 2020
ba7e38f
Fix edittype
Nov 9, 2020
ae93bf5
Reuse maxzoom from mapbox plot
Nov 9, 2020
3b1f0da
Fix syntax error
Nov 9, 2020
9d82a40
- Fix array support for opacity
Nov 15, 2020
6faf7b3
Remove scatter cluster mapbox
Nov 15, 2020
aeb2d7c
Fix syntax error
Nov 15, 2020
4c9eaeb
- Add tests
Dec 6, 2020
6a3ce4f
Merge branch 'master' of github.com:elben10/plotly.js
Dec 6, 2020
e1236a2
Remove radius attribute coercion
Dec 6, 2020
f536972
Fix linting errors
Dec 6, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# These are supported funding model platforms

github: plotly
custom: https://plot.ly/products/consulting-and-oem/
7 changes: 2 additions & 5 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,17 @@ Thanks for your interest in plotly.js!

### Translations:

- Make a PR directly to the main repository
- Please @ mention a few other speakers of this language who can help review your translations.
- If you've omitted any keys from [dist/translation_keys.txt](https://github.com/plotly/plotly.js/blob/master/dist/translation-keys.txt) - which means they will fall back on the US English text - just make a short comment about why in the PR description: the English text works fine in your language, or you would like someone else to help translating those, or whatever the reason.
- You should only update files in `lib/locales/`, not those in `dist/`

### Features, Bug fixes, and others:

Developers are strongly encouraged to first make a PR to their own plotly.js fork and ask one of the maintainers to review the modifications there. Once the pull request is deemed satisfactory, the developer will be asked to make a pull request to the main plotly.js repo and may be asked to squash some commits before doing so.

Before opening a pull request, developer should:
Before opening a pull request, developer should:

- `git rebase` their local branch off the latest `master`,
- make sure to **not** `git add` the `dist/` folder (the `dist/` is updated only on version bumps),
- make sure to commit changes to the `package-lock.json` file (if any),
- make sure to commit changes to the `package-lock.json` file (if any new dependency required),
- write an overview of what the PR attempts to do,
- select the _Allow edits from maintainers_ option (see this [article](https://help.github.com/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork/) for more details).

Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ build/*

npm-debug.log*
*.sublime*
*~
tags

.*
!.circleci
Expand Down
105 changes: 101 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,99 @@ To see all merged commits on the master branch that will be part of the next plo

where X.Y.Z is the semver of most recent plotly.js release.

## [1.58.0] -- 2020-12-02

### Added
- Add `ticklabelposition` attribute to cartesian axes and colorbars [#5275],
this feature was anonymously sponsored: thank you to our sponsor!
- Add "strict" `autotypenumbers` to axes and `layout` [#5240]
- Add `itemwidth` to legends [#5212],
with thanks to @s417-lama for the contribution!
- Add `root.color` attribute to `sunburst` and `treemap` traces [#5232, #5245],
with thanks to @thierryVergult for the contribution!

### Changed
- Enable fast `image` rendering for all linear axes [#5307],
with thanks to @almarklein for the contribution!
- Rework `matches` and `scaleanchor` so they work together [#5287]

### Fixed
- Fix hover on mobile and tablet devices for gl3d subplots [#5239]
(regression introduced in 1.34.0), with thanks to @jdpaterson for the contribution!
- Fix interactions when static/dynamic CSS transforms e.g. scale and translate are applied to the
graph div or its parents [#5193, #5302], with thanks to @alexhartstone for the contribution!
- Fix reordering of mapbox raster and image layers on update [#5269]
- Fix `categoryorder` for missing values in cartesian traces [#5268]
- Fix `automargin` bug to provide space for long axis labels [#5237]
- Avoid styling of backgrounds during `automargin` redraws [#5236]
- Fix displaying zero length bars with `staticPlot` config option [#5294]
- Fix setting false locale to "en-US" [#5293]
- Fix typo in Czech locale file [#5255],
with thanks to @helb for the contribution!
- Fix `gl3d` scene initialization [#5233]


## [1.57.1] -- 2020-10-20

### Changed
- Update template for new pull requests [#5220]
- Provide a default `hovertemplate` label for attribute "base" in `bar` traces [#5216]

### Fixed
- Fix `staticPlot` behaviour for `rangeslider` and `legend` [#5210],
with thanks to @miqh for the contribution!
- Fix `colorbar` react to new styles [#5217],
with thanks to @anaplian for the contribution!
- Fix `computed` margins when plot involves too many redraws [#5225]
- Fix build issue for Chart Studio Cloud (regression introduced in 1.56.0) [#5223]


## [1.57.0] -- 2020-10-15

### Added
- Introduce "domain" axis references in layout `images`, `shapes` and `annotations` [#5014]
- Add `rotation` attribute to `sunburst` traces [#5171, #5201],
with thanks to @thierryVergult for the contribution!
- Provide computed margins in "full-json" export [#5203],
this feature was anonymously sponsored: thank you to our sponsor!

### Changed
- Mention the "full-json" option in the `Plotly.toImage` warning [#5204]
- Use current graph dimensions in `Plotly.downloadImage` [#5209]

### Fixed
- Fix importing color modules for webpack users (regression introduced in 1.56.0) [#5189]
- Fix positioning ticks and labels on axes with `rangebreaks` and/or "period" `ticklabelmode` [#5187, #5208]
- Fix autorange computation when a category matches a range extreme [#5211],
with thanks to @LoganWlv for the contribution!
- Fix displaying modebar after `Plotly.restyle` [#5181],
with thanks to @Yook74 for the contribution!


## [1.56.0] -- 2020-09-30

### Added
- Introduce period positioning attributes on date axes in various cartesian traces [#5074, #5175],
this feature was anonymously sponsored: thank you to our sponsor!
- Add `minexponent` attribute to improve control over SI prefixes in axis tick labels [#5121],
with thanks to @ignamv for the contribution!
- Add `sort` attribute to `sunburst` and `treemap` traces to disable automatic sort [#5164],
with thanks to @thierryVergult for the contribution!
- Handle `rgba` colors in `colorscale` of `surface` traces [#5166],
with thanks to @lucapinello for the contribution!

### Changed
- Disable undesirable text selections on graphs [#5165]
- Adjust `tick0` for weekly periods [#5180]
- More informative error messages when creating `sunburst` and `treemap` charts [#5163]

### Fixed
- Fix positioning `legend` items [#5139],
with thanks to @fredrikw for the contribution!
- Fix rounding big numbers in `pie` and `sunburst` traces [#5152]
- Display `marker` and `line` colors in `scatter3d` and `scattergl` when hovering [#4867]


## [1.55.2] -- 2020-09-08

### Fixed
Expand All @@ -24,8 +117,10 @@ where X.Y.Z is the semver of most recent plotly.js release.
## [1.55.0] -- 2020-09-02

### Added
- Introduce "period" `ticklabelmode` on cartesian date axes [#4993, #5055, #5060, #5065, #5088, #5089]
- Add new formatting options for weeks and quarters [#5026]
- Introduce "period" `ticklabelmode` on cartesian date axes [#4993, #5055, #5060, #5065, #5088, #5089],
this feature was anonymously sponsored: thank you to our sponsor!
- Add new formatting options for weeks and quarters [#5026],
this feature was anonymously sponsored: thank you to our sponsor!
- Add `source` attribute to `image` traces for fast rendering [#5075]
- Add `zsmooth` attribute for discrete `heatmapgl` traces [#4953], with thanks to @ordiology for the contribution!
- Add horizontal and vertical markers for arrow charts [#5010]
Expand Down Expand Up @@ -155,8 +250,10 @@ where X.Y.Z is the semver of most recent plotly.js release.

### Added
- Introduce `rangebreaks` on date axes mainly thanks to [#4614] with API revision & improvements in
[#4639, #4641, #4644, #4649, #4652, #4653, #4660, #4661, #4670, #4677, #4684, #4688, #4695, #4696, #4698, #4699]
- Introduce "(x|y) unified" `hovermode` [#4620, #4664, #4669, #4687]
[#4639, #4641, #4644, #4649, #4652, #4653, #4660, #4661, #4670, #4677, #4684, #4688, #4695, #4696, #4698, #4699],
this feature was anonymously sponsored: thank you to our sponsor!
- Introduce "(x|y) unified" `hovermode` [#4620, #4664, #4669, #4687],
this feature was anonymously sponsored: thank you to our sponsor!
- Add "hovered data" mode to `spikesnap` [#4665]
- Add "full-json" export format to `Plotly.toImage` and `Plotly.dowloadImage` [#4593]
- Add `node.customdata` and `link.customdata` to `sankey` traces [#4621]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ Building instructions using `webpack`, `browserify` and other build frameworks a

## Bugs and feature requests

Have a bug or a feature request? Please [open a Github issue](https://github.com/plotly/plotly.js/issues/new) keeping in mind the [issue guidelines](https://github.com/plotly/plotly.js/blob/master/.github/ISSUE_TEMPLATE.md). You may also want to read about [how changes get made to Plotly.js](https://github.com/plotly/plotly.js/blob/masterCONTRIBUTING.md)
Have a bug or a feature request? Please [open a Github issue](https://github.com/plotly/plotly.js/issues/new) keeping in mind the [issue guidelines](https://github.com/plotly/plotly.js/blob/master/.github/ISSUE_TEMPLATE.md). You may also want to read about [how changes get made to Plotly.js](https://github.com/plotly/plotly.js/blob/master/CONTRIBUTING.md)

## Documentation

Expand Down
50 changes: 25 additions & 25 deletions dist/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ object. This property must be set before the plotly.js script tag, for example:
Plotly.js defaults to US English (en-US) and includes British English (en) in the standard bundle.
Many other localizations are available - here is an example using Swiss-German (de-CH),
see the contents of this directory for the full list.
They are also available on our CDN as https://cdn.plot.ly/plotly-locale-de-ch-latest.js OR https://cdn.plot.ly/plotly-locale-de-ch-1.55.2.js
They are also available on our CDN as https://cdn.plot.ly/plotly-locale-de-ch-latest.js OR https://cdn.plot.ly/plotly-locale-de-ch-1.58.0.js
Note that the file names are all lowercase, even though the region is uppercase when you apply a locale.

*After* the plotly.js script tag, add:
Expand All @@ -74,12 +74,12 @@ The main plotly.js bundle includes all the official (non-beta) trace modules.

It be can imported as minified javascript
- using dist file `dist/plotly.min.js`
- using CDN URL https://cdn.plot.ly/plotly-latest.min.js OR https://cdn.plot.ly/plotly-1.55.2.min.js
- using CDN URL https://cdn.plot.ly/plotly-latest.min.js OR https://cdn.plot.ly/plotly-1.58.0.min.js

or as raw javascript:
- using the `plotly.js-dist` npm package (starting in `v1.39.0`)
- using dist file `dist/plotly.js`
- using CDN URL https://cdn.plot.ly/plotly-latest.js OR https://cdn.plot.ly/plotly-1.55.2.js
- using CDN URL https://cdn.plot.ly/plotly-latest.js OR https://cdn.plot.ly/plotly-1.58.0.js
- using CommonJS with `require('plotly.js')`

If you would like to have access to the attribute meta information (including attribute descriptions as on the [schema reference page](https://plotly.com/javascript/reference/)), use dist file `dist/plotly-with-meta.js`
Expand All @@ -88,7 +88,7 @@ The main plotly.js bundle weights in at:

| plotly.js | plotly.min.js | plotly.min.js + gzip | plotly-with-meta.js |
|-----------|---------------|----------------------|---------------------|
| 7.1 MB | 3.3 MB | 997.5 kB | 7.4 MB |
| 7.2 MB | 3.3 MB | 1006.9 kB | 7.5 MB |

## Partial bundles

Expand All @@ -114,16 +114,16 @@ The `basic` partial bundle contains trace modules `scatter`, `bar` and `pie`.

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 2.5 MB | 907.8 kB | 298.2 kB |
| 2.6 MB | 934.9 kB | 307.1 kB |

#### CDN links

| Flavor | URL |
| ------ | --- |
| Latest | https://cdn.plot.ly/plotly-basic-latest.js |
| Latest minified | https://cdn.plot.ly/plotly-basic-latest.min.js |
| Tagged | https://cdn.plot.ly/plotly-basic-1.55.2.js |
| Tagged minified | https://cdn.plot.ly/plotly-basic-1.55.2.min.js |
| Tagged | https://cdn.plot.ly/plotly-basic-1.58.0.js |
| Tagged minified | https://cdn.plot.ly/plotly-basic-1.58.0.min.js |

#### npm package (starting in `v1.39.0`)

Expand Down Expand Up @@ -167,16 +167,16 @@ The `cartesian` partial bundle contains trace modules `scatter`, `bar`, `box`, `

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 2.9 MB | 1 MB | 350.6 kB |
| 3 MB | 1.1 MB | 360.8 kB |

#### CDN links

| Flavor | URL |
| ------ | --- |
| Latest | https://cdn.plot.ly/plotly-cartesian-latest.js |
| Latest minified | https://cdn.plot.ly/plotly-cartesian-latest.min.js |
| Tagged | https://cdn.plot.ly/plotly-cartesian-1.55.2.js |
| Tagged minified | https://cdn.plot.ly/plotly-cartesian-1.55.2.min.js |
| Tagged | https://cdn.plot.ly/plotly-cartesian-1.58.0.js |
| Tagged minified | https://cdn.plot.ly/plotly-cartesian-1.58.0.min.js |

#### npm package (starting in `v1.39.0`)

Expand Down Expand Up @@ -220,16 +220,16 @@ The `geo` partial bundle contains trace modules `scatter`, `scattergeo` and `cho

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 2.6 MB | 934.8 kB | 307.9 kB |
| 2.7 MB | 961.5 kB | 316.5 kB |

#### CDN links

| Flavor | URL |
| ------ | --- |
| Latest | https://cdn.plot.ly/plotly-geo-latest.js |
| Latest minified | https://cdn.plot.ly/plotly-geo-latest.min.js |
| Tagged | https://cdn.plot.ly/plotly-geo-1.55.2.js |
| Tagged minified | https://cdn.plot.ly/plotly-geo-1.55.2.min.js |
| Tagged | https://cdn.plot.ly/plotly-geo-1.58.0.js |
| Tagged minified | https://cdn.plot.ly/plotly-geo-1.58.0.min.js |

#### npm package (starting in `v1.39.0`)

Expand Down Expand Up @@ -273,16 +273,16 @@ The `gl3d` partial bundle contains trace modules `scatter`, `scatter3d`, `surfac

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 3.6 MB | 1.4 MB | 456.2 kB |
| 3.6 MB | 1.4 MB | 462.9 kB |

#### CDN links

| Flavor | URL |
| ------ | --- |
| Latest | https://cdn.plot.ly/plotly-gl3d-latest.js |
| Latest minified | https://cdn.plot.ly/plotly-gl3d-latest.min.js |
| Tagged | https://cdn.plot.ly/plotly-gl3d-1.55.2.js |
| Tagged minified | https://cdn.plot.ly/plotly-gl3d-1.55.2.min.js |
| Tagged | https://cdn.plot.ly/plotly-gl3d-1.58.0.js |
| Tagged minified | https://cdn.plot.ly/plotly-gl3d-1.58.0.min.js |

#### npm package (starting in `v1.39.0`)

Expand Down Expand Up @@ -326,16 +326,16 @@ The `gl2d` partial bundle contains trace modules `scatter`, `scattergl`, `splom`

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 3.6 MB | 1.5 MB | 478.5 kB |
| 3.7 MB | 1.5 MB | 487.8 kB |

#### CDN links

| Flavor | URL |
| ------ | --- |
| Latest | https://cdn.plot.ly/plotly-gl2d-latest.js |
| Latest minified | https://cdn.plot.ly/plotly-gl2d-latest.min.js |
| Tagged | https://cdn.plot.ly/plotly-gl2d-1.55.2.js |
| Tagged minified | https://cdn.plot.ly/plotly-gl2d-1.55.2.min.js |
| Tagged | https://cdn.plot.ly/plotly-gl2d-1.58.0.js |
| Tagged minified | https://cdn.plot.ly/plotly-gl2d-1.58.0.min.js |

#### npm package (starting in `v1.39.0`)

Expand Down Expand Up @@ -379,16 +379,16 @@ The `mapbox` partial bundle contains trace modules `scatter`, `scattermapbox`, `

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 3.3 MB | 1.6 MB | 494.8 kB |
| 3.4 MB | 1.7 MB | 503.6 kB |

#### CDN links

| Flavor | URL |
| ------ | --- |
| Latest | https://cdn.plot.ly/plotly-mapbox-latest.js |
| Latest minified | https://cdn.plot.ly/plotly-mapbox-latest.min.js |
| Tagged | https://cdn.plot.ly/plotly-mapbox-1.55.2.js |
| Tagged minified | https://cdn.plot.ly/plotly-mapbox-1.55.2.min.js |
| Tagged | https://cdn.plot.ly/plotly-mapbox-1.58.0.js |
| Tagged minified | https://cdn.plot.ly/plotly-mapbox-1.58.0.min.js |

#### npm package (starting in `v1.39.0`)

Expand Down Expand Up @@ -432,16 +432,16 @@ The `finance` partial bundle contains trace modules `scatter`, `bar`, `histogram

| Raw size | Minified size | Minified + gzip size |
|------|-----------------|------------------------|
| 2.7 MB | 995.7 kB | 323.6 kB |
| 2.8 MB | 1 MB | 333 kB |

#### CDN links

| Flavor | URL |
| ------ | --- |
| Latest | https://cdn.plot.ly/plotly-finance-latest.js |
| Latest minified | https://cdn.plot.ly/plotly-finance-latest.min.js |
| Tagged | https://cdn.plot.ly/plotly-finance-1.55.2.js |
| Tagged minified | https://cdn.plot.ly/plotly-finance-1.55.2.min.js |
| Tagged | https://cdn.plot.ly/plotly-finance-1.58.0.js |
| Tagged minified | https://cdn.plot.ly/plotly-finance-1.58.0.min.js |

#### npm package (starting in `v1.39.0`)

Expand Down
Loading