import pandas as pd import plotly.express as px x = px.data.gapminder().query("year == 2007") pass except ImportError: pass # custom visualizer defined in ./debugvisualizer.py (this file is included automatically) from Person import Person x = Person("Aria") parent1 = Person("Eduart") parent2 = Person("Catelyn") x.addParent(parent1) x.addParent(parent2) parent1.addParent(Person("Benjen")) # direct debug-visualizer json as dict with property "kind" x = { "kind": { "dotGraph": True }, "text": '\ndigraph G {\n subgraph cluster_0 {\n style=filled;\n color=lightgrey;\n node [style=filled,color=white];\n a0 -> a1 -> a2 -> a3;\n label = "process #1";\n }\n \n subgraph cluster_1 {\n node [style=filled];\n b0 -> b1 -> b2 -> b3;\n label = "process #2";\n color=blue\n }\n start -> a0;\n start -> b0;\n a1 -> b3;\n b2 -> a3;\n a3 -> a0;\n a3 -> end;\n b3 -> end;\n \n start [shape=Mdiamond];\n end [shape=Msquare];\n}\n', } x = { "kind": {