Skip to content
Snippets Groups Projects
Commit 5e0560e8 authored by Johanna Zijderveld's avatar Johanna Zijderveld
Browse files

fix rename bug

parent a58ba3a7
No related branches found
No related tags found
1 merge request!7Examples
Pipeline #179812 passed
This commit is part of merge request !7. Comments created here will be created in the context of that merge request.
...@@ -206,7 +206,7 @@ We naively do this by plotting the difference between CDW and SDW order paramete ...@@ -206,7 +206,7 @@ We naively do this by plotting the difference between CDW and SDW order paramete
```{code-cell} ipython3 ```{code-cell} ipython3
import matplotlib.ticker as mticker import matplotlib.ticker as mticker
normalized_gap = gap/np.max(gap) normalized_gap = gaps/np.max(gaps)
plt.imshow((cdw_list - sdw_list).T, extent=(Us[0], Us[-1], Vs[0], Vs[-1]), origin='lower', aspect='auto', cmap="coolwarm", alpha=normalized_gap.T, vmin=-2.6, vmax=2.6) plt.imshow((cdw_list - sdw_list).T, extent=(Us[0], Us[-1], Vs[0], Vs[-1]), origin='lower', aspect='auto', cmap="coolwarm", alpha=normalized_gap.T, vmin=-2.6, vmax=2.6)
plt.colorbar(ticks=[-2.6, 0, 2.6], format=mticker.FixedFormatter(['SDW', '0', 'CDW']), label='Order parameter', extend='both') plt.colorbar(ticks=[-2.6, 0, 2.6], format=mticker.FixedFormatter(['SDW', '0', 'CDW']), label='Order parameter', extend='both')
plt.xlabel('V') plt.xlabel('V')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment