We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 44e2c4c commit dbec656Copy full SHA for dbec656
1 file changed
viscm/gui.py
@@ -824,7 +824,8 @@ def main(argv):
824
else:
825
cmap = plt.get_cmap(args.colormap)
826
827
- if args.action == "view":
+ # Easter egg! I keep typing 'show' instead of 'view' so accept both
828
+ if args.action in ("view", "show"):
829
if cmap is None:
830
sys.exit("Please specify a colormap")
831
v = viscm(cmap)
0 commit comments