diff --git a/example_graph_code.kv b/example_graph_code.kv new file mode 100644 index 0000000000000000000000000000000000000000..d15976195036b318fa44db9d351c8e3849468aa4 --- /dev/null +++ b/example_graph_code.kv @@ -0,0 +1,20 @@ +<GraphScreen>: + name: "graph" + BoxLayout: + orientation: 'vertical' + + Image: + id: graph_img # This must match the Python code! + allow_stretch: True + keep_ratio: True + texture: root.graph_texture + + Button: + text: "Go Back" + size_hint_y: None + height: "48dp" + on_press: app.stop() + + +ScreenManager: + GraphScreen: \ No newline at end of file