Skip to content

Commit

Permalink
Updates colormaps to more colors, and adds the full tempStacked cmap
Browse files Browse the repository at this point in the history
  • Loading branch information
Papagaai35 committed Jan 21, 2020
1 parent bf62c34 commit 5b3c3cd
Show file tree
Hide file tree
Showing 7 changed files with 4,566 additions and 1,229 deletions.
1,006 changes: 759 additions & 247 deletions tcitool/cm/Yellows.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion tcitool/cm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def _process_color(color_str,alpha=None):
_cmap_array.append(_process_color(_step_color,_step_alpha))
_cmap_offset.append(np.round(float(_step_offset[:-1])/100,5))
_cmap_offset[0],_cmap_offset[-1] = 0.,1.
_cmap = matplotlib.colors.LinearSegmentedColormap.from_list(name=_cmap_name,colors=list(zip(_cmap_offset,_cmap_array)))
_cmap = matplotlib.colors.LinearSegmentedColormap.from_list(name=_cmap_name,colors=list(zip(_cmap_offset,_cmap_array)),N=768)
_cmap_r = _cmap.reversed(name=_cmap_name_r)
cmapnames.append(_cmap_name)
cmap_d[_cmap_name] = _cmap
Expand Down
1,008 changes: 760 additions & 248 deletions tcitool/cm/skewedStacked.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,006 changes: 759 additions & 247 deletions tcitool/cm/stacked.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
777 changes: 777 additions & 0 deletions tcitool/cm/tempStacked.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
990 changes: 751 additions & 239 deletions tcitool/cm/wbgtFlat.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1,006 changes: 759 additions & 247 deletions tcitool/cm/wbgtStacked.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 5b3c3cd

Please sign in to comment.