Skip to content

Commit 6167698

Browse files
committed
change plotly.js master references to main
1 parent f09b8b3 commit 6167698

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎CONTRIBUTING.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ python commands.py updateplotlyjsdev --devrepo reponame --devbranch branchname
309309

310310
This fetches the `plotly.js` in the CircleCI artifact of the branch `branchname` of the repo `reponame`.
311311
If `--devrepo` or `--devbranch` are omitted,
312-
`updateplotlyjsdev` defaults to `plotly/plotly.js` and `master` respectively.
312+
`updateplotlyjsdev` defaults to `plotly/plotly.js` and `main` respectively.
313313

314314
### Local Repository
315315

‎commands.py‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -228,8 +228,8 @@ def update_plotlyjs(plotly_js_version, outdir):
228228

229229

230230
# FIXME: switch to argparse
231-
def update_schema_bundle_from_master(args):
232-
"""Update the plotly.js schema and bundle from master."""
231+
def update_schema_bundle_from_main(args):
232+
"""Update the plotly.js schema and bundle from main."""
233233
if args.local is None:
234234
build_info = get_latest_commit_info(args.devrepo, args.devbranch)
235235
archive_url, bundle_url, schema_url = get_github_urls(
@@ -276,7 +276,7 @@ def update_schema_bundle_from_master(args):
276276
def update_plotlyjs_dev(args, outdir):
277277
"""Update project to a new development version of plotly.js."""
278278

279-
update_schema_bundle_from_master(args)
279+
update_schema_bundle_from_main(args)
280280
perform_codegen(outdir)
281281

282282

@@ -484,7 +484,7 @@ def make_parser():
484484
p_update_dev.add_argument(
485485
"--devrepo", default="plotly/plotly.js", help="repository"
486486
)
487-
p_update_dev.add_argument("--devbranch", default="master", help="branch")
487+
p_update_dev.add_argument("--devbranch", default="main", help="branch")
488488
p_update_dev.add_argument("--local", default=None, help="local path")
489489

490490
subparsers.add_parser("updateplotlyjs", help="update plotly.js")

0 commit comments

Comments
 (0)