Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions python/taichi/examples/simulation/euler.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from matplotlib import cm
from matplotlib import colormaps

import taichi as ti

Expand Down Expand Up @@ -433,7 +433,7 @@ def paint():

def main():
gui = ti.GUI("Euler Equations", (res, res))
cmap = cm.get_cmap(cmap_name)
cmap = colormaps[cmap_name]
set_ic()
set_bc()

Expand Down
Loading