plotly/plotly.py ? reverse-engineered prompt
Reverse engineered prompt
Build me a Python library for interactive charts like Plotly, where I can create graphs with a simple, friendly API and then display them in a browser, a notebook, or save them as HTML. I want the basics to work well first, like bar charts, line charts, scatter plots, and a few common chart types, with support for customizing titles, labels, colors, legends, and hover tooltips.
Please make it feel polished and easy to use from Python, so someone can do something simple like create a figure and call show() without extra work. If it makes sense, include support for notebook display and exporting static images too. Keep the code organized, readable, and tested, and use the current docs online if you need to check expected behavior.
Are you gonna build this?
make sure you review the code using coderabbit