@@ -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):
276276def 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