From 98db47865b17b9484849786fc480393871e958b7 Mon Sep 17 00:00:00 2001 From: Rongkun Wang Date: Mon, 25 Dec 2023 19:35:05 +0100 Subject: [PATCH] remove plotting in 24 and added matplotlib just in case --- .github/workflows/ci.yml | 2 +- src/python/24_rk.py | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2b9f21d..fbabcf5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: - name: Install Python dependency run: | python3 -m pip install --upgrade pip - pip install numpy + pip install numpy matplotlib - name: Setup Julia uses: julia-actions/setup-julia@v1 with: diff --git a/src/python/24_rk.py b/src/python/24_rk.py index 4260997..d40a8b0 100755 --- a/src/python/24_rk.py +++ b/src/python/24_rk.py @@ -130,8 +130,9 @@ def main(): # [print(i) for i in hails] nhails = len(hails) - for i in range(3): - plot(hails, i) + + # for i in range(3): + # plot(hails, i) print(sol1(hails))