mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-02 16:22:39 +02:00
update matplotlib cmap import
This commit is contained in:
parent
e1fa04bb04
commit
b4041cf713
1 changed files with 2 additions and 2 deletions
|
|
@ -28,7 +28,7 @@
|
||||||
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||||
# ===============================================================================
|
# ===============================================================================
|
||||||
|
|
||||||
from matplotlib import cm
|
from matplotlib import pyplot
|
||||||
from .. import Tango
|
from .. import Tango
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
@ -45,7 +45,7 @@ it gives back an empty default, when defaults are not defined.
|
||||||
# Data plots:
|
# Data plots:
|
||||||
data_1d = dict(lw=1.5, marker="x", color="k")
|
data_1d = dict(lw=1.5, marker="x", color="k")
|
||||||
data_2d = dict(
|
data_2d = dict(
|
||||||
s=35, edgecolors="none", linewidth=0.0, cmap=cm.get_cmap("hot"), alpha=0.5
|
s=35, edgecolors="none", linewidth=0.0, cmap=pyplot.get_cmap("hot"), alpha=0.5
|
||||||
)
|
)
|
||||||
inducing_1d = dict(lw=0, s=500, color=Tango.colorsHex["darkRed"])
|
inducing_1d = dict(lw=0, s=500, color=Tango.colorsHex["darkRed"])
|
||||||
inducing_2d = dict(
|
inducing_2d = dict(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue