Skip to content

typos #7531

@musvaage

Description

@musvaage

cf: https://github.com/quarto-dev/quarto-web

Noticed the herein typos in the above repository's example file gapminder-notebook.ipynb.

$ grep -o -E '.Expectected.{0,24}' plotly.js/dist/plotly-with-meta.js
"Expectected at least one argument."
"Expectected at least one argument."
$ grep -o -E 'Unrecoginized.{0,13}' plotly.js/dist/plotly-with-meta.js
Unrecoginized textBaseline
$ grep -o -E 'corrispondence.{0,14}' plotly.js/dist/plotly-with-meta.js
corrispondence with the keys
$ grep -o -E '...expecially.{0,11}' plotly.js/dist/plotly-with-meta.js
FF expecially needs that
$ grep -o -E '.insufficent.{0,15}' plotly.js/dist/plotly-with-meta.js
"insufficent Array support"
$ grep -o -E '.{0,14}intside.{0,25}' plotly.js/dist/plotly-with-meta.js
ax.ticks !== "intside" ? opts.ticklen || 0 : 0
$ 

If the Maintainers concur on these fixes a PR can be opened.

$ cat typos.sh
#!/bin/sh

sed -i "s/Expectected/Expected/g" plotly.js/dist/plotly-with-meta.js
sed -i "s/Expectected/Expected/g" plotly.js/dist/plotly.min.js
sed -i "s/Expectected/Expected/g" plotly.js/dist/plotly.js
sed -i "s/Expectected/Expected/g" plotly.js/dist/plotly-strict.js
sed -i "s/Expectected/Expected/g" plotly.js/dist/plotly-mapbox.js
sed -i "s/Expectected/Expected/g" plotly.js/dist/plotly-strict.min.js
sed -i "s/Expectected/Expected/g" plotly.js/dist/plotly-mapbox.min.js
sed -i "s/Unrecoginized/Unrecognized/g" plotly.js/dist/plotly-gl3d.js
sed -i "s/Unrecoginized/Unrecognized/g" plotly.js/dist/plotly-gl3d.min.js
sed -i "s/Unrecoginized/Unrecognized/g" plotly.js/dist/plotly-strict.js
sed -i "s/Unrecoginized/Unrecognized/g" plotly.js/dist/plotly-strict.min.js
sed -i "s/Unrecoginized/Unrecognized/g" plotly.js/dist/plotly-with-meta.js
sed -i "s/Unrecoginized/Unrecognized/g" plotly.js/dist/plotly.js
sed -i "s/Unrecoginized/Unrecognized/g" plotly.js/dist/plotly.min.js
sed -i "s/Unrecoginized/Unrecognized/g" plotly.js/stackgl_modules/index.js
sed -i "s/corrispondence/correspondence/g" plotly.js/dist/plotly-with-meta.js
sed -i "s/corrispondence/correspondence/g" plotly.js/dist/plotly-gl2d.min.js
sed -i "s/corrispondence/correspondence/g" plotly.js/dist/plotly.min.js
sed -i "s/corrispondence/correspondence/g" plotly.js/dist/plotly.js
sed -i "s/corrispondence/correspondence/g" plotly.js/dist/plotly-gl2d.js
sed -i "s/corrispondence/correspondence/g" plotly.js/dist/plotly-basic.min.js
sed -i "s/corrispondence/correspondence/g" plotly.js/dist/plotly-strict.js
sed -i "s/corrispondence/correspondence/g" plotly.js/dist/plotly-finance.min.js
sed -i "s/corrispondence/correspondence/g" plotly.js/dist/plotly-cartesian.min.js
sed -i "s/corrispondence/correspondence/g" plotly.js/dist/plotly-finance.js
sed -i "s/corrispondence/correspondence/g" plotly.js/dist/plotly-geo.js
sed -i "s/corrispondence/correspondence/g" plotly.js/dist/plotly-mapbox.js
sed -i "s/corrispondence/correspondence/g" plotly.js/dist/plotly-cartesian.js
sed -i "s/corrispondence/correspondence/g" plotly.js/dist/plotly-gl3d.min.js
sed -i "s/corrispondence/correspondence/g" plotly.js/dist/plotly-basic.js
sed -i "s/corrispondence/correspondence/g" plotly.js/dist/plotly-geo.min.js
sed -i "s/corrispondence/correspondence/g" plotly.js/dist/plotly-strict.min.js
sed -i "s/corrispondence/correspondence/g" plotly.js/dist/plotly-gl3d.js
sed -i "s/corrispondence/correspondence/g" plotly.js/dist/plotly-mapbox.min.js
sed -i "s/corrispondence/correspondence/g" plotly.js/test/jasmine/tests/plot_api_test.js
sed -i "s/corrispondence/correspondence/g" plotly.js/test/jasmine/tests/plot_api_test.js
sed -i "s/corrispondence/correspondence/g" plotly.js/src/plot_api/plot_api.js
sed -i "s/expecially/especially/g" plotly.js/dist/plotly-with-meta.js
sed -i "s/expecially/especially/g" plotly.js/dist/plotly-gl2d.min.js
sed -i "s/expecially/especially/g" plotly.js/dist/plotly.min.js
sed -i "s/expecially/especially/g" plotly.js/dist/plotly.js
sed -i "s/expecially/especially/g" plotly.js/dist/plotly-gl2d.js
sed -i "s/expecially/especially/g" plotly.js/dist/plotly-strict.js
sed -i "s/expecially/especially/g" plotly.js/dist/plotly-strict.min.js
sed -i "s/insufficent/insufficient/g" plotly.js/dist/plotly-with-meta.js
sed -i "s/insufficent/insufficient/g" plotly.js/dist/plotly.min.js
sed -i "s/insufficent/insufficient/g" plotly.js/dist/plotly.js
sed -i "s/insufficent/insufficient/g" plotly.js/dist/plotly-strict.js
sed -i "s/insufficent/insufficient/g" plotly.js/dist/plotly-mapbox.js
sed -i "s/insufficent/insufficient/g" plotly.js/dist/plotly-strict.min.js
sed -i "s/insufficent/insufficient/g" plotly.js/dist/plotly-mapbox.min.js
sed -i "s/intside/inside/g" plotly.js/dist/plotly-with-meta.js
sed -i "s/intside/inside/g" plotly.js/dist/plotly-gl2d.min.js
sed -i "s/intside/inside/g" plotly.js/dist/plotly.min.js
sed -i "s/intside/inside/g" plotly.js/dist/plotly.js
sed -i "s/intside/inside/g" plotly.js/dist/plotly-gl2d.js
sed -i "s/intside/inside/g" plotly.js/dist/plotly-basic.min.js
sed -i "s/intside/inside/g" plotly.js/dist/plotly-strict.js
sed -i "s/intside/inside/g" plotly.js/dist/plotly-finance.min.js
sed -i "s/intside/inside/g" plotly.js/dist/plotly-cartesian.min.js
sed -i "s/intside/inside/g" plotly.js/dist/plotly-finance.js
sed -i "s/intside/inside/g" plotly.js/dist/plotly-geo.js
sed -i "s/intside/inside/g" plotly.js/dist/plotly-mapbox.js
sed -i "s/intside/inside/g" plotly.js/dist/plotly-cartesian.js
sed -i "s/intside/inside/g" plotly.js/dist/plotly-gl3d.min.js
sed -i "s/intside/inside/g" plotly.js/dist/plotly-basic.js
sed -i "s/intside/inside/g" plotly.js/dist/plotly-geo.min.js
sed -i "s/intside/inside/g" plotly.js/dist/plotly-strict.min.js
sed -i "s/intside/inside/g" plotly.js/dist/plotly-gl3d.js
sed -i "s/intside/inside/g" plotly.js/dist/plotly-mapbox.min.js
sed -i "s/intside/inside/g" plotly.js/src/components/colorbar/draw.js
$ 

If the unedited or edited shell script is run on a cloned fork of this 1.8 GB repository please run a recursive grep for each of the typos to check that no files have been overlooked; the first typo for example is found in the below command.

grep -r Expectected plotly.js

The Maintainers are hereby authorised to use and/or modify the shell script.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions