Commit c4a02c77 authored by Félix Hartmann's avatar Félix Hartmann
Browse files

The colormap 'viridis' is now used explicitly in the LineCollection for

organ profiles.
parent bde01752
......@@ -492,7 +492,6 @@ def load_hdf5_file(hdf5file):
# Retrieve the data on the steady state from the h5 file
steady_state, exclude_steady_state = h5store.get_steady_state(hdf5file)
print("Steady state: ", steady_state, exclude_steady_state)
interekt.steady_state_image = steady_state
interekt.exclude_steady_state_from_time_series.set(exclude_steady_state)
......@@ -1450,7 +1449,7 @@ def show_time_series(tige_id=None):
# Subplot with tige profiles
axProfiles = fig_time.add_subplot(grid[:,0])
lcollec = LineCollection(lines, linewidth=(2,), color='gray')
lcollec = LineCollection(lines, linewidth=(2,), cmap='viridis')
lcollec.set_array(times)
axProfiles.add_collection(lcollec)
axProfiles.set_xlim((x.min(), x.max()))
......@@ -1904,7 +1903,7 @@ def show_growth_rate():
# Subplot with tige profiles
axProfiles = fig_growth_rate.add_subplot(grid[:, 0])
lcollec = LineCollection(lines, linewidth=(2,), color='gray')
lcollec = LineCollection(lines, linewidth=(2,), cmap='viridis')
lcollec.set_array(times)
axProfiles.add_collection(lcollec)
xmin, xmax, ymin, ymax = x.min(), x.max(), y.min(), y.max()
......@@ -2483,7 +2482,7 @@ def show_beta_tilde():
# Displaying tige profiles
axProfiles = fig_beta.add_subplot(grid[:,0])
lcollec = LineCollection(lines, linewidth=(2,), color='gray')
lcollec = LineCollection(lines, linewidth=(2,), cmap='viridis')
lcollec.set_array(times)
axProfiles.add_collection(lcollec)
axProfiles.set_xlim((x.min(), x.max()))
......@@ -2775,7 +2774,7 @@ def show_gamma_tilde():
# Displaying tige profiles
axProfiles = fig_gamma.add_subplot(grid[:,0])
lcollec = LineCollection(lines, linewidth=(2,), color='gray')
lcollec = LineCollection(lines, linewidth=(2,), cmap='viridis')
lcollec.set_array(times)
axProfiles.add_collection(lcollec)
axProfiles.set_xlim((x.min(), x.max()))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment