Looks like it changed in Jupyter version 7. The new command is:
display("text/html", "<style>:root { --jp-notebook-max-width: 100% !important; }</style>")
Looks like it changed in Jupyter version 7. The new command is:
display("text/html", "<style>:root { --jp-notebook-max-width: 100% !important; }</style>")