Skip to content

Commit

Permalink
cleaning up files
Browse files Browse the repository at this point in the history
  • Loading branch information
au2232 committed May 15, 2023
1 parent 982b685 commit 140dc8d
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions Wes_palette/wes_palette.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,10 @@ def available(show=True):

def check_key(palname):
"""Check if palette is in palette list.
Args:
palname: palette name
#Args:
# palname: palette name
#Returns:
# Tries color palette or raises error
Raises:
KeyError: An error occurs when the palette name is new.
Examples:
Expand All @@ -81,10 +83,10 @@ def check_key(palname):

def cmap(palname):
"""Check if palette is vaild and make a colormap from it.
Args:
palname: palette name
Returns:
matplotlib colormap
#Args:
# palname: palette name
#Returns:
# matplotlib colormap
Examples:
#>>> cmap("megasaki")
#<matplotlib.colors.ListedColormap object at >
Expand Down
Binary file removed examplegraph1.png
Binary file not shown.
Binary file removed examplegraph2.png
Binary file not shown.
Binary file removed examplegraph3.png
Binary file not shown.

0 comments on commit 140dc8d

Please sign in to comment.