Merge pull request #470 from SheffieldML/plotting_fix

Plotting fix
This commit is contained in:
Max Zwiessele 2017-01-10 13:48:28 +00:00 committed by GitHub
commit f36a394766
5 changed files with 34 additions and 5 deletions

View file

@ -1,5 +1,34 @@
# Changelog
## v1.5.7 (2017-01-09)
### Fix
* Removed additional dict line. [mzwiessele]
* Plotting also allows 3D (capitals) [mzwiessele]
* Fallback for when no environment variables are set (#467) [Safrone]
* fix: dev: add or in home directory getting
adds another or when getting the home directory with os.getenv() so that if neither $HOME nor $USERPROFILE environment variable is set, os.path.join() will not fail by getting a None and the config will revert to the default configuration file.
* fix: remove extra statement
### Other
* Bump version: 1.5.6 → 1.5.7. [mzwiessele]
* Changed the order of the operations, ensuring that the covariance matrix is symmetric despite numerical precision issues. Suggested by Alan. [Teo de Campos]
* Delete gmm_bayesian_gplvm.py. [beiwang]
* Gmm_creation. [beiwang]
* Gmm_creation. [beiwang]
## v1.5.6 (2016-11-07)
### New

View file

@ -1 +1 @@
__version__ = "1.5.6"
__version__ = "1.5.7"

View file

@ -88,12 +88,12 @@ def _plot_mean(self, canvas, helper_data, helper_prediction,
update_not_existing_kwargs(kwargs, pl().defaults.meanplot_1d) # @UndefinedVariable
plots = dict(gpmean=[pl().plot(canvas, Xgrid[:, free_dims], mu, label=label, **kwargs)])
else:
if projection == '2d':
if projection.lower() in '2d':
update_not_existing_kwargs(kwargs, pl().defaults.meanplot_2d) # @UndefinedVariable
plots = dict(gpmean=[pl().contour(canvas, x[:,0], y[0,:],
mu.reshape(resolution, resolution).T,
levels=levels, label=label, **kwargs)])
elif projection == '3d':
elif projection.lower() in '3d':
update_not_existing_kwargs(kwargs, pl().defaults.meanplot_3d) # @UndefinedVariable
plots = dict(gpmean=[pl().surface(canvas, x, y,
mu.reshape(resolution, resolution),

View file

@ -3,7 +3,7 @@ environment:
secure: 8/ZjXFwtd1S7ixd7PJOpptupKKEDhm2da/q3unabJ00=
COVERALLS_REPO_TOKEN:
secure: d3Luic/ESkGaWnZrvWZTKrzO+xaVwJWaRCEP0F+K/9DQGPSRZsJ/Du5g3s4XF+tS
gpy_version: 1.5.6
gpy_version: 1.5.7
matrix:
- PYTHON_VERSION: 2.7
MINICONDA: C:\Miniconda-x64

View file

@ -1,5 +1,5 @@
[bumpversion]
current_version = 1.5.6
current_version = 1.5.7
tag = True
commit = True