Fix lab_black usage in docs
Discussed in https://github.com/casact/chainladder-python/discussions/607
Originally posted by henrydingliu October 9, 2025 This page has an error for me.
@SRwcf do you want to try to fix this one? :)
We can either remove nb_black or use the new package jupyter_black:
import jupyter_black as jb
jb.load()
@kennethshsu I have opened a quick PR replacing the deprecated lab_black with jupyter_black.
However, encountered an issue in triangle-tutorial.ipynb with axis="segments". Let me know if I should tweak anything or turn this into a draft for now!
Hey! Thanks for working on this. The PR looks great! Thank you!
I think this is a bug.
But you can temporary fix it with clrd.sum(axis="index").sum(axis=0). Do you want to open a new bug report on this and see if you can figure out why segments doesn't work?