Skip to content

Commit

Permalink
paths issue fixed, I hope
Browse files Browse the repository at this point in the history
  • Loading branch information
callumrollo committed May 6, 2020
1 parent 61a1cf5 commit dac6913
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cmcrameri/cm.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,8 @@
from matplotlib.colors import LinearSegmentedColormap
import matplotlib.pyplot as plt
import os

# Find the colormap text files and make a list of the paths
paths = list((Path(__file__).parent.absolute() / "cmaps").glob('*.txt'))
paths = list((Path(os.path.join(os.path.split(__file__)[0], 'cmaps'))).glob('*.txt'))
crameri_cmaps = dict()
crameri_cmaps_r = dict()
for cmap_path in paths:
Expand Down

0 comments on commit dac6913

Please sign in to comment.