Skip to content
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

Update to your pull-request for making es5/require work. #1

Merged
merged 464 commits into from
Jan 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
464 commits
Select commit Hold shift + click to select a range
2d5d685
No thousands separator
Mkranj Jul 31, 2023
699fb78
keep null items in range when calling cleanRange
archmoj Aug 1, 2023
36cb0fa
do not set autorange to false in constraints.handleDefaults for paria…
archmoj Aug 1, 2023
8e707c6
test partial ranges on matching axes
archmoj Aug 1, 2023
fd11108
do not return with empty legend items to clear old legends
archmoj Aug 2, 2023
f4baaf6
Merge pull request #6695 from plotly/fix6694-legend-update
archmoj Aug 2, 2023
0f97efe
update readme and changelog for v2.25.1
archmoj Aug 2, 2023
bb4a1f7
2.25.1
archmoj Aug 2, 2023
c6a147f
Update src/plots/cartesian/layout_attributes.js
archmoj Aug 2, 2023
1f5b819
update schema
archmoj Aug 2, 2023
cc03cf8
Update src/plots/cartesian/layout_attributes.js
archmoj Aug 2, 2023
51ca21e
update schema
archmoj Aug 2, 2023
7241716
First push
28raining Aug 5, 2023
fe3d2d0
Adding draftlog
28raining Aug 5, 2023
60848e9
Linter fix: spaces before values, no tabs
Mkranj Aug 8, 2023
33a2f16
add tests
archmoj Aug 10, 2023
ec7ff52
ensure __proto__ is not polluted in expandObjectPaths
archmoj Aug 10, 2023
4474ca8
Update test/jasmine/tests/animate_test.js
archmoj Aug 11, 2023
0dcb1f7
Update test/jasmine/tests/animate_test.js
archmoj Aug 11, 2023
cf5c623
skip all __ keys instead of only __proto__
archmoj Aug 11, 2023
e1e3175
fix delay in test
archmoj Aug 11, 2023
5efd2a1
Merge pull request #6703 from plotly/expandObjectPaths-proto
archmoj Aug 11, 2023
2bec998
guard against polluting __proto__ in nestedProperty
archmoj Aug 11, 2023
5cfbd6e
add test
archmoj Aug 11, 2023
a860a32
Merge pull request #6690 from Mkranj/croatian_translation
archmoj Aug 11, 2023
a4a69d5
reduce flakiness on CI
archmoj Aug 11, 2023
0249840
Merge pull request #6704 from plotly/nestedProperty-proto
archmoj Aug 11, 2023
27932d6
Merge pull request #6705 from plotly/reduce-flakiness
archmoj Aug 11, 2023
920a50e
update readme and changelog for v2.25.2
archmoj Aug 11, 2023
e824199
2.25.2
archmoj Aug 11, 2023
4527d5d
Merge branch 'master' into autorange-bounds
archmoj Aug 11, 2023
923df18
Create sizemode after fb in pull 6698
28raining Aug 12, 2023
b0868e5
Fix failing translate string
28raining Aug 12, 2023
3e1319e
Updating schema
28raining Aug 12, 2023
0e9d5a6
generate correct baseline. Use .replace to keep var in translated string
28raining Aug 15, 2023
29c813f
re-add whiskers to violin plots
28raining Aug 15, 2023
6ea8d6d
Update src/traces/box/plot.js
28raining Aug 15, 2023
c3f9ea7
reverting jasmine test
28raining Aug 15, 2023
d7e2f1b
Merge branch 'dev-box-sigma-boxes' of https://github.com/28raining/pl…
28raining Aug 15, 2023
4e4b486
Change whisker default if sizemode=='sd'
28raining Aug 15, 2023
b3812f8
add showwhiskers to candlestick
28raining Aug 15, 2023
505a14e
if sizemode === quartiles, don't use boxmean
28raining Aug 16, 2023
3a3b46c
Update description for whisker default behavior
28raining Aug 16, 2023
44e1355
roll back candelstick and violin changes
28raining Aug 16, 2023
edfa543
simplify sizemode usage
28raining Aug 16, 2023
a48f2ce
fix lint
28raining Aug 16, 2023
66dcba7
update schema
28raining Aug 16, 2023
013f4d3
roll back violin further
28raining Aug 16, 2023
1668fe9
rolled back contributing
28raining Aug 17, 2023
f84e93f
selectively coerce sdmultiple
28raining Aug 17, 2023
be1d805
keep _rangeInitial0 & _rangeInitial1 instead of _rangeInitial array
archmoj Aug 9, 2023
a7ce254
fix double click interactions for partial ranges
archmoj Aug 18, 2023
fbe1fb9
add jasmine test
archmoj Aug 18, 2023
f0d48e6
revisit axReverse in autorange
archmoj Aug 18, 2023
e38c18b
Merge pull request #6698 from 28raining/dev-box-sigma-boxes
archmoj Aug 18, 2023
5d4f665
fix double click on min reversed and max reversed cases
archmoj Aug 18, 2023
4274d74
Adding horixontal alignment of horizontal legend title
28raining Aug 20, 2023
dac140c
generate baseline using docker
28raining Aug 20, 2023
2653067
Allow to remove a scaleanchor constraint that is set by default
lvlte Aug 20, 2023
7bde3b7
Add test case (image scaleanchor removal)
lvlte Aug 20, 2023
e83dc48
update plot-schema diff
lvlte Aug 20, 2023
735b973
update plot-schema diff again
lvlte Aug 20, 2023
b55fd06
Add draftlog
lvlte Aug 21, 2023
9a039bd
Merge pull request #6712 from lvlte/allow-default-scaleanchor-removal
archmoj Aug 21, 2023
a5fdc4f
Add top right + orient=v test cases
28raining Aug 22, 2023
eeb66ab
correct attributes
28raining Aug 22, 2023
fe9e99b
keep titlepad when aligned to the right
28raining Aug 22, 2023
e2d0bae
update schema
28raining Aug 22, 2023
46278f5
Merge pull request #6711 from 28raining/center-legend
archmoj Aug 22, 2023
2aa7e47
draftlog for PR 6711
archmoj Aug 22, 2023
faccfc6
validate partial ranges and set autorange true for invalid partial ra…
archmoj Aug 22, 2023
7776305
handle invalid range and reversed autorange
archmoj Aug 23, 2023
30a692e
do not accept partial ranges if autorange is set to true
archmoj Aug 24, 2023
0f63668
Merge pull request #6547 from plotly/autorange-bounds
archmoj Aug 24, 2023
6f6345f
update readme and changelog for v2.26.0
archmoj Aug 24, 2023
a5577d9
2.26.0
archmoj Aug 24, 2023
fe8b5c4
Fixed issue - column order changes on hover
bhavinpatel1109 Aug 29, 2023
5a79014
Fixed test case issues
bhavinpatel1109 Aug 31, 2023
547ef52
Resolved ESLnt warnings
bhavinpatel1109 Aug 31, 2023
3e9500d
Fixed one issue
bhavinpatel1109 Aug 31, 2023
586542b
Did changes based on suggestion
bhavinpatel1109 Sep 1, 2023
7530b93
Resolved ESLnt warning
bhavinpatel1109 Sep 1, 2023
00d46f6
Added log for bug 6699
bhavinpatel1109 Sep 2, 2023
cef2785
Merge remote-tracking branch 'origin/master' into handle-coded-typed-…
archmoj Sep 11, 2023
abb692b
Fix key in Finnish locale
wkmor1 Sep 13, 2023
37fae9b
Merge pull request #6723 from wkmor1/patch-1
archmoj Sep 14, 2023
f316a7a
draftlog for PR 6723
archmoj Sep 14, 2023
ab0ddec
Pass sublot id to `Fx.click()`
lvlte Sep 14, 2023
236e3c7
Position title after legend width calculated
wkelsey-apple Sep 15, 2023
26eb06b
Fixing issue #5350 by moving the 'false' check to affect only the sin…
andrej-vasilj Sep 15, 2023
cf2ef69
Modified 1 legend unit test
andrej-vasilj Sep 15, 2023
6477e1a
removing trailing spaces
andrej-vasilj Sep 15, 2023
be70669
better method to horizontal align the title
28raining Sep 17, 2023
ab114f8
Update color-parse for case-insensitive fix. Lint.
28raining Sep 17, 2023
40e8c6a
Adding fix for issue 6661
28raining Sep 17, 2023
6d83f4a
updating mock so title is an object
28raining Sep 17, 2023
4404f94
regenerating some identical mocks...
28raining Sep 17, 2023
646a6bc
flipping logic to check user-def bin groups...
28raining Sep 17, 2023
147ddcb
remove + re-add baselines (git not see image chg?)
28raining Sep 17, 2023
76385d2
re-add baselines
28raining Sep 17, 2023
8ccef98
rename mock to zz_ to workaround circleci issue
28raining Sep 19, 2023
07f2b70
small tweak to always call handler
andrej-vasilj Sep 19, 2023
0757d3d
dblclick default handler only when single click and dbl click are not…
andrej-vasilj Sep 21, 2023
b7a98e2
Adding PR draft.md
wkelsey-apple Sep 22, 2023
0d2988e
add number separators to cs locale
vlastimil-dolejs Sep 22, 2023
c25bc9b
added draftlog file
andrej-vasilj Sep 22, 2023
6825695
Merge pull request #6725 from 28raining/fix-legend-title-h-align
archmoj Sep 22, 2023
46ca101
Merge pull request #6734 from diribet/cs-locale
archmoj Sep 22, 2023
1ff17d4
update draftlogs
archmoj Sep 22, 2023
6b72540
Added unit test for bug fix
andrej-vasilj Sep 22, 2023
55f9c91
Merge pull request #6727 from andrej-vasilj/FIX_5350
archmoj Sep 22, 2023
f138672
update changelog and readme for v2.26.1
archmoj Sep 22, 2023
915a52b
2.26.1
archmoj Sep 22, 2023
350a01c
Add insiderange to cartesian axes
archmoj Sep 20, 2023
c7ffaa6
fix relayout new insiderange and set range to null
archmoj Sep 27, 2023
18c8190
fix insiderange react
archmoj Sep 28, 2023
be68636
Don't hide compilation errors
dmt0 Sep 30, 2023
0ef1748
Draftlog
dmt0 Sep 30, 2023
dab1412
Add willReadFrequently to 2d canvas contexts to heatmap
bebeal Sep 30, 2023
b179558
revise pan value using target scale - fix max height calc
archmoj Oct 3, 2023
6d858ad
improve fit
archmoj Oct 3, 2023
724bab1
Merge pull request #6739 from dmt0/dont-hide-errors
archmoj Oct 4, 2023
ba16783
clear _insideTickLabelsUpdaterange before applying it
archmoj Oct 4, 2023
bcaa904
add a function to handle range defaults
archmoj Oct 4, 2023
cf059c2
fix issue 6742 interactions of partial ranges affecting other subplots
archmoj Oct 4, 2023
95b8edc
add test
archmoj Oct 4, 2023
3cc3c42
draftlog
archmoj Oct 4, 2023
d828853
Merge pull request #6743 from plotly/fix6742-partial-range-interact
archmoj Oct 4, 2023
96254ca
Merge pull request #6741 from bebeal/addWillReadFrequently
archmoj Oct 4, 2023
c1d4671
Merge pull request #6724 from lvlte/plotly_click-with-select-dragmode
archmoj Oct 4, 2023
b9f660a
bump nanoid to address audit warning
archmoj Oct 4, 2023
c95de52
Merge pull request #6744 from plotly/nanoid-3.3.6
archmoj Oct 4, 2023
02fec76
changelog and readme for v2.26.2
archmoj Oct 4, 2023
7a7b412
2.26.2
archmoj Oct 4, 2023
15b6bf2
Merge remote-tracking branch 'origin/master' into range-inside-tickla…
archmoj Oct 4, 2023
630b092
Merge pull request #6718 from bhavinpatel1109/feature/fix6699-column-…
archmoj Oct 10, 2023
121a664
partial insiderange support is out of scope at this point
archmoj Oct 13, 2023
02557e5
Merge remote-tracking branch 'origin/master' into handle-coded-typed-…
archmoj Oct 16, 2023
3cbbae3
Fix issue 6751: epoch date formats '%H:%M:%S' as 'undefined'
adamjhawley Oct 18, 2023
34532c7
Add log entry for PR #6752
adamjhawley Oct 18, 2023
6408944
Merge pull request #6735 from plotly/range-inside-ticklables
archmoj Oct 19, 2023
bd2f50f
audit fix babel traverse
archmoj Oct 19, 2023
3dc3b09
Merge pull request #6754 from plotly/babel-traverse
archmoj Oct 19, 2023
e7a690c
clear empty boxes and candlestick - fixing 4729
archmoj Oct 20, 2023
9b0b2ff
Merge pull request #6757 from plotly/fix4729-candlestick-react
archmoj Oct 20, 2023
80179d5
Merge pull request #6752 from adamjhawley/fix-undef-date-hover
archmoj Oct 20, 2023
bac36ff
changelog and readme for 2.27.0
archmoj Oct 20, 2023
9e3a7d4
2.27.0
archmoj Oct 20, 2023
ecb428d
handle multi-line text in title automargin
archmoj Mar 15, 2023
eea8484
draft log
archmoj Oct 24, 2023
1ef43ae
Merge pull request #6758 from plotly/automargin-multi-line-title
archmoj Oct 24, 2023
3314377
Merge remote-tracking branch 'origin/master' into handle-coded-typed-…
archmoj Oct 26, 2023
4d378fb
Add a test to for custom hover format of epoch timestamp
adamjhawley Oct 26, 2023
c65429e
Merge pull request #6763 from adamjhawley/date-ts-test
archmoj Oct 30, 2023
2e95a66
npm audit fix - browserify-sign
archmoj Oct 31, 2023
a539c88
Merge pull request #6766 from plotly/bump-browserify-sign
archmoj Oct 31, 2023
363ab04
skip running stamen tests on ci
archmoj Nov 7, 2023
bd366e8
Merge pull request #6775 from plotly/skip-stamen-on-ci
archmoj Nov 7, 2023
7297d03
stamen styles are now served by stadiamaps.com
archmoj Nov 7, 2023
e8727d0
draft log for PR 6776
archmoj Nov 7, 2023
9156bd7
Merge pull request #6776 from plotly/switch-to-stadiamaps-for-stamen-…
archmoj Nov 7, 2023
306732e
additional setup needed to pass api key for stamen styles
archmoj Nov 8, 2023
7f0d263
update draft log
archmoj Nov 8, 2023
0312f51
Merge pull request #6778 from plotly/more-stamen-setup
archmoj Nov 8, 2023
37468e2
update changelog and readme for v2.27.1
archmoj Nov 8, 2023
19322e9
2.27.1
archmoj Nov 8, 2023
b681538
Do not break if mouse moves to x=0 when using rangeslider
david-bezero Nov 9, 2023
f8fe63c
Add changelog
david-bezero Nov 9, 2023
8ce7ab2
scatterpolargl.line should not have shape option
archmoj Nov 9, 2023
3e86994
log for PR 6781
archmoj Nov 9, 2023
d0a5571
Merge pull request #6781 from plotly/fix-6774
archmoj Nov 9, 2023
0b9e7dc
bump mapbox-gl from v1.10.1 to v1.13.1 i.e. latest v1
archmoj Nov 10, 2023
1331b6c
provide buttons option when simulate mapbox-gl mousemove
archmoj Nov 10, 2023
769158d
Apply suggestions from code review
archmoj Nov 10, 2023
b735a81
Merge pull request #6782 from plotly/bump-mapbox-v1.13.3
archmoj Nov 10, 2023
077e911
install virtual-webgl
archmoj Aug 24, 2023
43fd8b4
use plotly mapbox-gl v1.13.4
archmoj Nov 13, 2023
d5c03d8
add noCI flag to flaky splom test
archmoj Nov 13, 2023
5718547
add baseline and jasmine tests using virtual-webgl
archmoj Sep 6, 2023
5231272
Merge pull request #6780 from david-bezero/range-0
archmoj Nov 14, 2023
a0977bb
fix scattergl legend with marker angle array
archmoj Nov 18, 2023
fd91d7a
draftlog for PR 6787
archmoj Nov 18, 2023
33dc2de
Merge pull request #6787 from plotly/fix6770-scattergl-legend-marker-…
archmoj Nov 20, 2023
d8ff2d5
fix 6765 - ensure default range work with allowed min/max
archmoj Nov 21, 2023
cd0b783
log for PR 6796
archmoj Nov 23, 2023
c928809
convert min max allowed values to linear on ax._rl
archmoj Nov 24, 2023
aadbd54
revise default values when maxallowed-minallowed<1
archmoj Nov 24, 2023
21148d4
improve tests
archmoj Nov 24, 2023
81998ac
Fix 6328 - Hovering over Sankey node highlights all full traces
CelineWuest Nov 27, 2023
b3efac2
Add draft log for PR 6799
CelineWuest Nov 27, 2023
2689419
Fix linter errors
CelineWuest Nov 27, 2023
bd525ea
Add Sankey node align property
adamreeve Nov 20, 2023
aff34a3
Add new test mocks
adamreeve Nov 28, 2023
b11e8bc
Add draftlog entry
adamreeve Nov 28, 2023
4898355
Linting
adamreeve Nov 28, 2023
58a4ffd
bump mathjax v3.2.2 using kaleido
archmoj Nov 28, 2023
3368552
Merge pull request #6802 from plotly/bump-mathjax-v3.2.2-kaleido
archmoj Nov 28, 2023
5a7cc3e
Merge pull request #6796 from plotly/fix6765-range-allowed
archmoj Dec 1, 2023
ccff898
Add mock for Sankey with circular links and right alignment
adamreeve Dec 5, 2023
0516c4a
Rename mock
adamreeve Dec 5, 2023
7b12beb
fix drawing regl lines only cases on shared WebGL
archmoj Dec 7, 2023
7234c08
Merge pull request #6784 from plotly/virtual-webgl
archmoj Dec 8, 2023
0527052
Improve if condition clarity
CelineWuest Dec 10, 2023
17f7013
Merge pull request #6800 from adamreeve/sankey-align
archmoj Dec 12, 2023
cae76aa
Merge remote-tracking branch 'origin/master' into handle-coded-typed-…
archmoj Dec 14, 2023
54269a6
Fix if condition
CelineWuest Dec 15, 2023
5962af9
Added test
CelineWuest Dec 15, 2023
3105987
Add credit in draftlog
CelineWuest Dec 15, 2023
2d81fdf
Change target node in test
CelineWuest Dec 15, 2023
8bf6d89
Merge pull request #6799 from DominicWuest/fix-sankey-trace-highlight
archmoj Dec 15, 2023
06f3b5c
Add <meta charset="utf-8"> to <head> to appease d3
ayjayt Dec 25, 2023
1487f52
Add draftlog for PR #6826
ayjayt Dec 25, 2023
9eb6bc4
Add switch to specify major/minor in arrayTicks
ayjayt Dec 27, 2023
0e03c93
Merge pull request #6826 from geopozo/pikul-metadata-test-dashboard
archmoj Jan 2, 2024
24821c8
Merge branch 'master' into pikul-arrayTicks-duplicate-tick-bug
ayjayt Jan 2, 2024
5f8f115
bump regl-scatter2d v3.3.1
archmoj Jan 2, 2024
a8e110d
log for PR 6830
archmoj Jan 2, 2024
f6c33bd
Merge pull request #6830 from plotly/regl-scatter2d-3.3.1
archmoj Jan 2, 2024
9a6de43
Add test to verify expected quantity of ticks
ayjayt Jan 2, 2024
392b103
Add draftlog for PR #6829
ayjayt Jan 2, 2024
41ae65d
Fix linter errors
ayjayt Jan 3, 2024
095ce0c
Set tick test to use fullLayout, not mock x
ayjayt Jan 3, 2024
69345fc
Eliminate unnecesary closure in parameterized test
ayjayt Jan 3, 2024
365231d
Use Lib.psuedoRandom(), not Math.random()
ayjayt Jan 3, 2024
00cdcc8
Merge branch 'master' into pikul-arrayTicks-duplicate-tick-bug
ayjayt Jan 3, 2024
cd3b261
Remove closure function from tickArray test
ayjayt Jan 3, 2024
1051bb7
Add legacy mode to arrayTicks()
ayjayt Jan 3, 2024
9e9da55
Merge pull request #6829 from geopozo/pikul-arrayTicks-duplicate-tick…
archmoj Jan 4, 2024
4e7a980
fix upperfence description
archmoj Jan 4, 2024
571fddf
Merge pull request #6834 from plotly/fix-upperfence-description
archmoj Jan 4, 2024
7536e78
Merge pull request #5230 from plotly/handle-coded-typed-arrays
archmoj Jan 5, 2024
e017fa3
bump webpack
archmoj Jan 5, 2024
38c71f9
bump babel plugin-transform-modules-commonjs
archmoj Jan 5, 2024
76c774f
bump babel preset-env
archmoj Jan 5, 2024
4cdc272
bump eslint
archmoj Jan 5, 2024
06c57cf
bump sass
archmoj Jan 5, 2024
f9de119
Merge pull request #6836 from plotly/bump-dev-deps-2024-01-05
archmoj Jan 5, 2024
4d10c56
update readme and changelog for v2.28.0
archmoj Jan 5, 2024
9664ca9
2.28.0
archmoj Jan 5, 2024
42ca00c
npm audit fix - follow-redirects 1.15.5
archmoj Jan 12, 2024
620a56b
Merge pull request #6843 from plotly/bump-follow-redirects
archmoj Jan 12, 2024
7467a47
Merge branch 'master' into chart2music
ayjayt Jan 12, 2024
08b820b
Remove special rules from webpack.config:
ayjayt Jan 12, 2024
41b0fb9
Reorder declarations to make a bit more readable
ayjayt Jan 12, 2024
94e25c3
Lint
ayjayt Jan 13, 2024
61ea8ce
Change import/export scheme to promise
ayjayt Jan 17, 2024
c9a0b91
Remove a console.log
ayjayt Jan 17, 2024
cc92639
Limit chunks to 1
ayjayt Jan 17, 2024
7baa0d3
Upgrade chart2music to support commonjs
ayjayt Jan 17, 2024
3127dee
Rewrite accessibility in es5
ayjayt Jan 17, 2024
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
101 changes: 101 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,26 @@ jobs:
name: Run jasmine tests (part B)
command: .circleci/test.sh webgl-jasmine

virtual-webgl-jasmine:
docker:
# need '-browsers' version to test in real (xvfb-wrapped) browsers
- image: cimg/node:16.17.1-browsers
environment:
# Alaska time (arbitrary timezone to test date logic)
TZ: "America/Anchorage"
parallelism: 8
working_directory: ~/plotly.js
steps:
- browser-tools/install-browser-tools: &browser-versions
chrome-version: 110.0.5481.100
install-firefox: false
install-geckodriver: false
- attach_workspace:
at: ~/
- run:
name: Run jasmine tests (part B)
command: .circleci/test.sh virtual-webgl-jasmine

flaky-no-gl-jasmine:
docker:
# need '-browsers' version to test in real (xvfb-wrapped) browsers
Expand Down Expand Up @@ -216,6 +236,25 @@ jobs:
name: Test MathJax on firefox-latest
command: .circleci/test.sh mathjax-firefox82+

make-baselines-virtual-webgl:
parallelism: 2
docker:
- image: circleci/python:3.8.9
working_directory: ~/plotly.js
steps:
- attach_workspace:
at: ~/
- run:
name: Install kaleido, plotly.io and required fonts
command: .circleci/env_image.sh
- run:
name: Create png files using virtual-webgl & WebGL v1
command: .circleci/test.sh make-baselines-virtual-webgl
- persist_to_workspace:
root: ~/
paths:
- plotly.js

make-baselines-mathjax3:
docker:
- image: circleci/python:3.8.9
Expand Down Expand Up @@ -253,6 +292,25 @@ jobs:
paths:
- plotly.js

make-baselines-b64:
parallelism: 4
docker:
- image: circleci/python:3.8.9
working_directory: ~/plotly.js
steps:
- attach_workspace:
at: ~/
- run:
name: Install kaleido, plotly.io and required fonts
command: .circleci/env_image.sh
- run:
name: Create all png files
command: .circleci/test.sh make-baselines-b64
- persist_to_workspace:
root: ~/
paths:
- plotly.js

test-baselines:
docker:
- image: circleci/node:16.9.0
Expand All @@ -267,6 +325,34 @@ jobs:
path: build
destination: /

test-baselines-virtual-webgl:
docker:
- image: circleci/node:16.9.0
working_directory: ~/plotly.js
steps:
- attach_workspace:
at: ~/
- run:
name: Compare pixels
command: .circleci/test.sh test-image-virtual-webgl ; find build -maxdepth 1 -type f -delete
- store_artifacts:
path: build
destination: /

test-baselines-b64:
docker:
- image: circleci/node:16.9.0
working_directory: ~/plotly.js
steps:
- attach_workspace:
at: ~/
- run:
name: Compare pixels
command: .circleci/test.sh test-image ; find build -maxdepth 1 -type f -delete
- store_artifacts:
path: build
destination: /

test-baselines-mathjax3:
docker:
- image: circleci/node:16.9.0
Expand Down Expand Up @@ -441,15 +527,30 @@ workflows:
- webgl-jasmine:
requires:
- install-and-cibuild
- virtual-webgl-jasmine:
requires:
- install-and-cibuild
- flaky-no-gl-jasmine:
requires:
- install-and-cibuild
- make-baselines-virtual-webgl:
requires:
- install-and-cibuild
- test-baselines-virtual-webgl:
requires:
- make-baselines-virtual-webgl
- make-baselines-mathjax3:
requires:
- install-and-cibuild
- test-baselines-mathjax3:
requires:
- make-baselines-mathjax3
- make-baselines-b64:
requires:
- install-and-cibuild
- test-baselines-b64:
requires:
- make-baselines-b64
- make-baselines:
requires:
- install-and-cibuild
Expand Down
2 changes: 2 additions & 0 deletions .circleci/env_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@ sudo cp -r .circleci/fonts/ /usr/share/ && \
sudo fc-cache -f && \
# install kaleido & plotly
sudo python3 -m pip install kaleido==0.2.1 plotly==5.5.0 --progress-bar off
# install numpy i.e. to convert arrays to typed arrays
sudo python3 -m pip install numpy==1.24.2
30 changes: 30 additions & 0 deletions .circleci/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,16 @@ case $1 in
exit $EXIT_STATE
;;

virtual-webgl-jasmine)
SHARDS=($(node $ROOT/tasks/shard_jasmine_tests.js --limit=5 --tag=gl | circleci tests split))
for s in ${SHARDS[@]}; do
MAX_AUTO_RETRY=2
retry ./node_modules/karma/bin/karma start test/jasmine/karma.conf.js --virtualWebgl --tags=gl --skip-tags=noCI,noVirtualWebgl --doNotFailOnEmptyTestSuite -- "$s"
done

exit $EXIT_STATE
;;

flaky-no-gl-jasmine)
SHARDS=($(node $ROOT/tasks/shard_jasmine_tests.js --limit=1 --tag=flaky | circleci tests split))

Expand Down Expand Up @@ -82,11 +92,26 @@ case $1 in
exit $EXIT_STATE
;;

make-baselines-virtual-webgl)
SUITE=$({\
find $ROOT/test/image/mocks/gl* -type f -printf "%f\n"; \
find $ROOT/test/image/mocks/mapbox* -type f -printf "%f\n"; \
} | sed 's/\.json$//1' | circleci tests split)
python3 test/image/make_baseline.py virtual-webgl $SUITE || EXIT_STATE=$?
exit $EXIT_STATE
;;

make-baselines-mathjax3)
python3 test/image/make_baseline.py mathjax3 legend_mathjax_title_and_items mathjax parcats_grid_subplots table_latex_multitrace_scatter table_plain_birds table_wrapped_birds ternary-mathjax || EXIT_STATE=$?
exit $EXIT_STATE
;;

make-baselines-b64)
SUITE=$(find $ROOT/test/image/mocks/ -type f -printf "%f\n" | sed 's/\.json$//1' | circleci tests split)
python3 test/image/make_baseline.py b64 $SUITE || EXIT_STATE=$?
exit $EXIT_STATE
;;

make-baselines)
SUITE=$(find $ROOT/test/image/mocks/ -type f -printf "%f\n" | sed 's/\.json$//1' | circleci tests split)
python3 test/image/make_baseline.py $SUITE || EXIT_STATE=$?
Expand All @@ -103,6 +128,11 @@ case $1 in
exit $EXIT_STATE
;;

test-image-virtual-webgl)
node test/image/compare_pixels_test.js virtual-webgl || { tar -cvf build/baselines.tar build/test_images/*.png ; exit 1 ; } || EXIT_STATE=$?
exit $EXIT_STATE
;;

source-syntax)
npm run lint || EXIT_STATE=$?
npm run test-syntax || EXIT_STATE=$?
Expand Down
4 changes: 4 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,12 @@
"Float32Array": true,
"Float64Array": true,
"Uint8Array": true,
"Int8Array": true,
"Uint8ClampedArray": true,
"Int16Array": true,
"Uint16Array": true,
"Int32Array": true,
"Uint32Array": true,
"ArrayBuffer": true,
"DataView": true,
"SVGElement": false
Expand Down
114 changes: 114 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,120 @@ 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.

## [2.28.0] -- 2024-01-05

### Added
- Add `align` option to sankey nodes to control horizontal alignment [[#6800](https://github.com/plotly/plotly.js/pull/6800)],
with thanks to @adamreeve for the contribution!
- Add the possibility of loading "virtual-webgl" script for WebGL 1 to help display several WebGL contexts on a page [[#6784](https://github.com/plotly/plotly.js/pull/6784)], with thanks to @greggman for the contribution!
- Add options to use base64 encoding (`bdata`) and `shape` (for 2 dimensional arrays) to declare various typed arrays i.e. `dtype=(float64|float32|int32|int16|int8|uint32|uint16|uint8)` [[#5230](https://github.com/plotly/plotly.js/pull/5230)]

### Fixed
- Fix scattergl rendering bug on M1 mac devices [[#6830](https://github.com/plotly/plotly.js/pull/6830)],
with thanks to @justinjhendrick for the contribution!
- Fix hovering over sankey node only fully highlights first trace [[#6799](https://github.com/plotly/plotly.js/pull/6799)],
with thanks to @DominicWuest for the contribution!
- Fix error when the mouse moves to x=0 while dragging a rangeslider [[#6780](https://github.com/plotly/plotly.js/pull/6780)],
with thanks to @david-bezero for the contribution!
- Fix duplicated of major and minor ticks in calc data [[#6829](https://github.com/plotly/plotly.js/pull/6829)],
with thanks to @ayjayt for the contribution!
- Fix charset test dashboard [[#6826](https://github.com/plotly/plotly.js/pull/6826)],
with thanks to @ayjayt for the contribution!
- Fix range defaults to take into account `minallowed` and `maxallowed` values of the axis [[#6796](https://github.com/plotly/plotly.js/pull/6796)]
- Fix `scattergl` legend when `marker.angle` is an array [[#6787](https://github.com/plotly/plotly.js/pull/6787)]
- Fix plot schema not to show `line.shape` options for `scatterpolargl` trace [[#6781](https://github.com/plotly/plotly.js/pull/6781)]


## [2.27.1] -- 2023-11-08

### Changed
- Adjust stamen styles to point to `stadiamaps.com`, the users may also need to provide their own API_KEY via `config.mapboxAccessToken` [[#6776](https://github.com/plotly/plotly.js/pull/6776), [#6778](https://github.com/plotly/plotly.js/pull/6778)]

### Fixed
- Fix handling multi-line text in title `automargin` [[#6758](https://github.com/plotly/plotly.js/pull/6758)]


## [2.27.0] -- 2023-10-20

### Added
- 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!

### Fixed
- Fix column order changes on hover [[#6718](https://github.com/plotly/plotly.js/pull/6718)],
with thanks to @bhavinpatel1109 for the contribution!
- Fix hover at timestamp '1970-01-01 00:00:00' [[#6752](https://github.com/plotly/plotly.js/pull/6752)],
with thanks to @adamjhawley for the contribution!
- Fix clearing empty `candlestick` using react [[#6757](https://github.com/plotly/plotly.js/pull/6757)]


## [2.26.2] -- 2023-10-04

### Fixed
- Fix range interactions affecting partial ranges in other subplots [[#6743](https://github.com/plotly/plotly.js/pull/6743)]
- Fix to emit `plotly_click` event on touchscreens with "select" `dragmode` [[#6724](https://github.com/plotly/plotly.js/pull/6724)]),
with thanks to @lvlte for the contribution!
- Fix error display for failing builds [[#6739](https://github.com/plotly/plotly.js/pull/6739)],
with thanks to @dmt0 for the contribution!
- Use the "willReadFrequently" 2d context creation attribute to optimize readback performance for heat map traces [[#6741](https://github.com/plotly/plotly.js/pull/6741)],
with thanks to @bebeal for the contribution!


## [2.26.1] -- 2023-09-22

### Fixed
- Fix horizontal title alignment [[#6725](https://github.com/plotly/plotly.js/issues/6725)],
with thanks to @28raining for the contribution!
- Fix single-point histogram when user has provided bin widths [[#6725](https://github.com/plotly/plotly.js/issues/6725)],
with thanks to @28raining for the contribution!
- Fix to allow custom `plotly_legenddoubleclick` handlers to execute even when the default `plotly_legendclick` event is cancelled (returns false) [[#6727](https://github.com/plotly/plotly.js/pull/6727)], with thanks to @andrej-vasilj for the contribution!
- Fix Finnish translation for "Download plot" in `fi` locale [[#6723](https://github.com/plotly/plotly.js/issues/6723)],
with thanks to @wkmor1 for the contribution!
- Fix Czech number separators in `cs` locale [[#6734](https://github.com/plotly/plotly.js/pull/6734)],
with thanks to @vlastimil-dolejs for the contribution!


## [2.26.0] -- 2023-08-24

### Added
- Add "min", "max", "min reversed" and "max reversed" autorange options and handle partial ranges (i.e. one end being null), add `autorangeoptions` (`clipmin`, `clipmax`, `minallowed`, `maxallowed`, `include`) as well as `minallowed` and `maxallowed` to cartesian, gl3d and radial axes [[#6547](https://github.com/plotly/plotly.js/pull/6547)]
- Add [n]-sigma (std deviations) box plots as an alternative to quartiles [[#6697](https://github.com/plotly/plotly.js/issues/6697)], with thanks to @28raining for the contribution!
- Add "top left" & "top center" side options to legend title [[#6711](https://github.com/plotly/plotly.js/pull/6711)], with thanks to @28raining for the contribution!
- Add "false" option to `scaleanchor` to allow removing a constraint that is set by default [[#6712](https://github.com/plotly/plotly.js/pull/6712)], with thanks to @lvlte for the contribution!


## [2.25.2] -- 2023-08-11

### Changed
- Update Croatian translations in `hr` locale [[#6690](https://github.com/plotly/plotly.js/pull/6690)],
with thanks to @Mkranj for the contribution!

### Fixed
- Fix potential prototype pollution in plot API calls [[#6703](https://github.com/plotly/plotly.js/pull/6703), [6704](https://github.com/plotly/plotly.js/pull/6704)]


## [2.25.1] -- 2023-08-02

### Fixed
- Fix clearing legend using react (regression introduced in 2.25.0) [[#6695](https://github.com/plotly/plotly.js/pull/6695)]


## [2.25.0] -- 2023-07-25

### Added
- Add "Equal Earth" projection to geo subplots [[#6670](https://github.com/plotly/plotly.js/pull/6670)],
with thanks to @apparebit for the contribution!
- Add options to include legends for shapes and `newshape` [[#6653](https://github.com/plotly/plotly.js/pull/6653)]
- Add Plotly.deleteActiveShape command [[#6679](https://github.com/plotly/plotly.js/pull/6679)]

### Fixed
- Fix contour plot colorscale domain (take account of `zmin`, `zmax`, `cmin` and `cmax`) [[#6625](https://github.com/plotly/plotly.js/pull/6625)],
with thanks to @lvlte for the contribution!
- Fix text markers on non-mapbox styled maps [[#6652](https://github.com/plotly/plotly.js/pull/6652)],
with thanks to @baurt for the contribution!
- Fix unhide isolated traces in multi legend cases (regression introduced in 2.24.3) [[#6684](https://github.com/plotly/plotly.js/pull/6684)]


## [2.24.3] -- 2023-07-05

### Fixed
Expand Down
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ You may also consider using [`plotly.js-dist`](https://www.npmjs.com/package/plo

```html
<head>
<script src="https://cdn.plot.ly/plotly-2.24.3.min.js" charset="utf-8"></script>
<script src="https://cdn.plot.ly/plotly-2.28.0.min.js" charset="utf-8"></script>
</head>
<body>
<div id="gd"></div>
Expand All @@ -72,7 +72,7 @@ You may also consider using [`plotly.js-dist`](https://www.npmjs.com/package/plo
Alternatively you may consider using [native ES6 import](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules) in the script tag.
```html
<script type="module">
import "https://cdn.plot.ly/plotly-2.24.3.min.js"
import "https://cdn.plot.ly/plotly-2.28.0.min.js"
Plotly.newPlot("gd", [{ y: [1, 2, 3] }])
</script>
```
Expand All @@ -82,7 +82,7 @@ Fastly supports Plotly.js with free CDN service. Read more at <https://www.fastl
### Un-minified versions are also available on CDN
While non-minified source files may contain characters outside UTF-8, it is recommended that you specify the `charset` when loading those bundles.
```html
<script src="https://cdn.plot.ly/plotly-2.24.3.js" charset="utf-8"></script>
<script src="https://cdn.plot.ly/plotly-2.28.0.js" charset="utf-8"></script>
```

> Please note that as of v2 the "plotly-latest" outputs (e.g. https://cdn.plot.ly/plotly-latest.min.js) will no longer be updated on the CDN, and will stay at the last v1 patch v1.58.5. Therefore, to use the CDN with plotly.js v2 and higher, you must specify an exact plotly.js version.
Expand All @@ -100,6 +100,11 @@ You could load either version two or version three of MathJax files, for example
> When using MathJax version 3, it is also possible to use `chtml` output on the other parts of the page in addition to `svg` output for the plotly graph.
Please refer to `devtools/test_dashboard/index-mathjax3chtml.html` to see an example.

### Need to have several WebGL graphs on a page?
You may simply load [virtual-webgl](https://github.com/greggman/virtual-webgl) script for WebGL 1 (not WebGL 2) before loading other scripts.
```html
<script src="https://unpkg.com/virtual-webgl@1.0.6/src/virtual-webgl.js"></script>
```

## Bundles
There are two kinds of plotly.js bundles:
Expand Down
1 change: 1 addition & 0 deletions devtools/test_dashboard/index-mathjax3.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<html>
<head>
<title>Plotly.js Devtools - MathJax v3 loaded with svg output</title>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Open+Sans:600,400,300,200|Droid+Sans|PT+Sans+Narrow|Gravitas+One|Droid+Sans+Mono|Droid+Serif|Raleway|Old+Standard+TT"/>
<link rel="stylesheet" type="text/css" href="./style.css">
</head>
Expand Down
1 change: 1 addition & 0 deletions devtools/test_dashboard/index-mathjax3chtml.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<html>
<head>
<title>Plotly.js Devtools - MathJax v3 loaded with chtml output</title>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="//fonts.googleapis.com/css?family=Open+Sans:600,400,300,200|Droid+Sans|PT+Sans+Narrow|Gravitas+One|Droid+Sans+Mono|Droid+Serif|Raleway|Old+Standard+TT"/>
<link rel="stylesheet" type="text/css" href="./style.css">
</head>
Expand Down
Loading