Skip to content

Version 2.0

Compare
Choose a tag to compare
@louisnw01 louisnw01 released this 01 Jun 12:44
· 14 commits to main since this release
5453759

2.0 is finally here!

This version introduces breaking changes:

  • render_drawings has been replaced with keep_drawings
  • removed the block parameter from show_async. use asyncio.create_task instead.
  • added toggle parameter to topbar buttons; buttons value now reflects their state

Main changes:

  • Entire rewrite of the backend in TypeScript; drawings should be more reliable and stable now.
  • Plugin support (Box drawing). Please feel free to implement your own plugins!
  • Added support for PyQt6 (with plans to drop support for Qt5 and PySide)
  • Editable text boxes
  • Added the bulk_run context manager, which can be used to send a group of commands to the chart. for example:
with chart.bulk_run:
	for i in range(300):
		chart.horizontal_line(i)

this code would execute much faster within the context manager as each method’s piece of JavaScript is grouped into one.

There are likely to be some discrepancies in the documentation at the moment; if you find any please raise an issue!

Thank you to everyone who has helped build this library, my sponsors, and the users!

Louis