Skip to content

Sparklines and Barcharts!

Compare
Choose a tag to compare
@salt-die salt-die released this 21 Sep 04:04
· 267 commits to main since this release

New in v0.25.0

  • nurses_2 is now formatted with Black and isort, and linted with ruff!
  • Sparkline widget added.
  • BarChart widget added.
  • ScrollView smooth(er) scrolling with fractional block characters.
  • Box drawing option for LinePlot.
  • ProgressBar's progress attribute can be set to None for an infinite loading animation.
  • TextPad and Textbox correctly take into account full-width characters as cursor moves or text is added and deleted.
  • TextPad and Textbox now have move-across-word keybinds.
  • ShadowCaster types simplified.
  • Widget behaviors now follow an "-able" naming convention. Several behaviors have been renamed:
    • GrabbableBehavior is now Grabbable
    • GrabMoveBehavior is now Movable
    • GrabResizeBehavior is now Resizable
    • FocusBehavior is now Focusable
    • ScatterBehavior is now MovableChildren
  • TextAnimation's color pair can now be set with the animation_color_pair attribute.
  • Several enum parameters are now literal types.
    • Anchor is now Literal["bottom", "bottom-left", "bottom-right", "center", "left", "right", "top", "top-left", "top-right"]
    • Interpolation is now Literal["nearest", "linear", "cubic", "area", "lanczos"]
    • GridLayout.Orientation is now Literal["lr-tb", "lr-bt", "rl-tb", "rl-bt", "tb-lr", "tb-rl", "bt-lr", "bt-rl"]
    • Border is now Literal["light", "heavy", "double", "curved", "ascii", "outer", "inner", "thick"]
    • Easing is now a literal type.
    • Data table SelectItems and Alignment removed; parameters using these types now use literal types.
  • Datatype of NDArray types now added to type hints, e.g., NDArray[np.uint8].
  • TabbedWidget bug fixes:
    • Previous active tab content now disabled correctly when a new tab is added.
    • Animated underline height fixed.
  • A few minor bug fixes.