Skip to content

fixing code examples in README#391

Open
tschm wants to merge 6 commits intoplotly:masterfrom
tschm:readme_bug
Open

fixing code examples in README#391
tschm wants to merge 6 commits intoplotly:masterfrom
tschm:readme_bug

Conversation

@tschm
Copy link
Copy Markdown
Contributor

@tschm tschm commented Aug 16, 2025

I think "n" is not an argument for the write_fig function

@tschm
Copy link
Copy Markdown
Contributor Author

tschm commented Aug 16, 2025

I test the README file in #390

@ayjayt
Copy link
Copy Markdown
Collaborator

ayjayt commented Aug 18, 2025

It should be!

Thanks for this, we're working on all this fulltime at the moment so you should see great progress on your PRs and documentation. I will confirm this through the course of the week.

@gvwilson gvwilson requested a review from ayjayt August 22, 2025 15:03
@gvwilson gvwilson added documentation written for humans community community contribution fix fixes something broken P2 needed for current cycle labels Aug 22, 2025
Copilot AI review requested due to automatic review settings May 2, 2026 18:24
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR corrects the Python README example so the top-level kaleido.write_fig(...) usage matches the actual public API. It improves the quickstart documentation for users of the Python package by removing an invalid argument from the async convenience-wrapper example.

Changes:

  • Remove the unsupported n=4 argument from the kaleido.write_fig(...) example in src/py/README.md.
  • Keep the example focused on the valid shortcut-function pattern for writing a figure without explicitly constructing Kaleido.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

community community contribution documentation written for humans fix fixes something broken P2 needed for current cycle

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants