You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Treescope renderings now support a dark theme, configurable via treescope.theme (#74, #75, #76)
"light" (the default) and "dark" select a theme explicitly.
"auto" matches the theme of the page displaying the rendering, based on the text color it inherits, and falls back to light if that can't be detected.
Fixes
Fixed rendering of large typed JAX PRNG key arrays (#71, #77)
Fixed an error with PyTorch versions that don't support named tensors (#72)
Empty arrays are no longer autovisualized (previously this raised an error); treescope.render_array now raises a clear error for empty arrays
Enums with mixin types (e.g. IntEnum, IntFlag, str enums) now render as enum members instead of their raw values, and combinations of enum.Flag members no longer raise an error
Fixed PyTorch tensor summaries showing the variance instead of the standard deviation
NumPy and JAX array summaries now report the finite min/max when the array contains infinities, matching PyTorch
Fixed arrays with no finite values never finishing rendering when around_zero=False
axis_item_labels and axis_labels in treescope.render_array now ignore axis names that aren't in the array, as documented
Fixed relative_alias_names("magic") giving globals priority over locals
Fixed a division by zero in treescope.figures.text_on_color when vmin == vmax
Array visualization sliders are now capped at 500px wide
treescope.render_array and ArrayAutovisualizer now raise an error for zero edge items, for out-of-range axis positions in label dicts, and for non-finite vmin/vmax, instead of crashing or failing to render