Код: Выделить всё
from causalnex.plots import plot_structure, NODE_STYLE, EDGE_STYLE
viz = plot_structure(
sm,
all_node_attributes=NODE_STYLE.WEAK,
all_edge_attributes=EDGE_STYLE.WEAK,
)
viz.show("supporting_files/01_simple_plot.html")
Код: Выделить всё
UnicodeEncodeError: 'charmap' codec can't encode characters in position 263607-263621: character maps to
https://causalnex.readthedocs.io/en/lat ... t=viz.show (%20)#Structure-Learning
Я ожидал построить интерактивную визуализацию в своем блокноте Jupyter
Подробнее здесь: https://stackoverflow.com/questions/785 ... t-encode-c