From 5d1a4eb95ac18c3f18877ce36aeb96f521cabc0e Mon Sep 17 00:00:00 2001 From: stanley_washington Date: Mon, 3 Oct 2022 23:31:20 -0300 Subject: [PATCH] added plot method --- main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/main.py b/main.py index 14ec6c5..585ec0d 100644 --- a/main.py +++ b/main.py @@ -223,6 +223,7 @@ def plot(self, qtd_modos=5): fig.update_layout(title="Viga de Euler-Bernoulli e seus modos de vibrar") fig.show() else: + raise Exception("You need to run the vibration modes before plotting!") if __name__ == '__main__':