Skip to content
Permalink
Browse files

Merge pull request #956 from ioam/colors_fix

Fixed confusing aliasing
  • Loading branch information...
Philipp Rudiger
Philipp Rudiger committed Oct 27, 2016
2 parents 7475366 + b2b5034 commit 8d6b2a1fc735f02d90d66087396fa3590288d023
Showing with 3 additions and 3 deletions.
  1. +3 −3 holoviews/plotting/mpl/element.py
@@ -4,8 +4,8 @@
import numpy as np
import matplotlib as mpl
import matplotlib.pyplot as plt
import matplotlib.colors as mpl_colors
from matplotlib import ticker
from matplotlib import colors
from matplotlib.dates import date2num

from ...core import util
@@ -640,10 +640,10 @@ def _norm_kwargs(self, element, ranges, opts, vdim):
clim = (0, len(np.unique(cs)))
if self.logz:
if self.symmetric:
norm = colors.SymLogNorm(vmin=clim[0], vmax=clim[1],
norm = mpl_colors.SymLogNorm(vmin=clim[0], vmax=clim[1],
linthresh=clim[1]/np.e)
else:
norm = colors.LogNorm(vmin=clim[0], vmax=clim[1])
norm = mpl_colors.LogNorm(vmin=clim[0], vmax=clim[1])
opts['norm'] = norm
opts['vmin'] = clim[0]
opts['vmax'] = clim[1]

0 comments on commit 8d6b2a1

Please sign in to comment.
You can’t perform that action at this time.