diff --git a/easyunfold/cli.py b/easyunfold/cli.py index e73b527..b248c5c 100644 --- a/easyunfold/cli.py +++ b/easyunfold/cli.py @@ -517,7 +517,7 @@ def process_dos(dos, dos_elements, dos_orbitals, dos_atoms, gaussian, total_only default=None) @click.option('--colourspace', help='Colourspace in which to perform interpolation for combined plot.', - default='lablch', + default='lab', show_default=True, type=click.Choice(['rgb', 'hsv', 'lab', 'luvlch', 'lablch', 'xyz'])) def unfold_plot_projections(ctx, npoints, sigma, eref, out_file, show, emin, emax, cmap, no_symm_average, vscale, dos, dos_label, zero_line, diff --git a/easyunfold/plotting.py b/easyunfold/plotting.py index 59ee82b..352aad3 100644 --- a/easyunfold/plotting.py +++ b/easyunfold/plotting.py @@ -580,7 +580,7 @@ def plot_projected( orbitals=None, use_subplot=False, colours=None, - colorspace='lablch', + colorspace='lab', intensity=1.0, ): """ @@ -811,7 +811,7 @@ def plot_effective_mass_fit(efm: EffectiveMass, return fig -def interpolate_colors(colours: Sequence, weights: list, colorspace='lablch', normalize=True): +def interpolate_colors(colours: Sequence, weights: list, colorspace='lab', normalize=True): """ Interpolate colours at a number of points within a colorspace.