Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed confusing aliasing #956

merged 1 commit into from Oct 27, 2016
Changes from all commits
File filter...
Filter file types
Jump to…
Jump to file or symbol
Failed to load files and symbols.
+3 −3
Diff settings


Just for now

Fixed confusing aliasing

  • Loading branch information...
jbednar committed Oct 27, 2016
commit b2b5034306b1e281ad2c51a1e5725f3465955a05
@@ -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],
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]
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.