Skip to content

Commit 543b3d2

Browse files
committed
avoid matplatlib in CI for testing isoFdModelling.py
1 parent 4cc7c08 commit 543b3d2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎samples/cuda_bindings/extra/isoFdModelling/isoFdModelling.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
2929

3030
# /// script
31-
# dependencies = ["cuda-python>=13.4.0", "numpy>=1.24", "matplotlib"]
31+
# dependencies = ["cuda-python>=13.4.0", "numpy>=1.24"]
3232
# ///
3333

3434
"""
@@ -819,7 +819,7 @@ def main():
819819
for propag in propags:
820820
del propag
821821

822-
if display_graph:
822+
if display_graph and plt is not None:
823823
nrows = nz
824824
ncols = pars.nx
825825
dbz = h_out

0 commit comments

Comments
 (0)