Skip to content

Commit

Permalink
Default colourspace is LAB everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
kavanase committed Aug 7, 2023
1 parent cd84230 commit c34a765
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion easyunfold/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
4 changes: 2 additions & 2 deletions easyunfold/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ def plot_projected(
orbitals=None,
use_subplot=False,
colours=None,
colorspace='lablch',
colorspace='lab',
intensity=1.0,
):
"""
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit c34a765

Please sign in to comment.