mirror of
https://github.com/CoolProp/CoolProp.git
synced 2026-01-09 14:08:08 -05:00
Fix MPL deprecation
This commit is contained in:
@@ -97,7 +97,7 @@ melt_args = dict(color='orange', lw=lw, solid_capstyle='round')
|
||||
sat_args = melt_args.copy()
|
||||
|
||||
nm = matplotlib.colors.Normalize(min(DD), max(DD))
|
||||
rho_args = dict(cmap=plt.cm.get_cmap('Blues'), norm=nm)
|
||||
rho_args = dict(cmap=plt.get_cmap('Blues'), norm=nm)
|
||||
|
||||
fig = plt.figure(figsize=(1.0, 1.0))
|
||||
ax = fig.add_axes((0.0, 0.0, 1.0, 1.0))
|
||||
|
||||
Reference in New Issue
Block a user