As discussed in the lab meeting today, we should update all notebooks and examples to the most recent recommended practice, including:
plt.style.use('seaborn-darkgrid')?)Checklist for updating notebook:
%matplotlib inline
import pymc3 as pm
import numpy as np
import matplotlib.pyplot as plt
plt.style.use('seaborn-darkgrid')
print('Running on PyMC3 v{}'.format(pm.__version__))
thumbs up to plt.style.use(['seaborn-darkgrid'])
I think it fits well with our PyMC3 blue scheme
just nitpicking, we can directly use plt.style.use('seaborn-darkgrid')
For ppl participating Docathon today, please follow the checklist below:
plt.style.use('seaborn-darkgrid')find_MAP as initiating the sampling, use multiple chains and default sampling as much as possibleTemplate import (suggestion/edit welcome):
%pylab inline
import numpy as np
import pymc3 as pm
import theano.tensor as tt
plt.style.use('seaborn-darkgrid')
print('Running on PyMC3 v%s'%pm.__version__)
I would prefer
%matplotlib inline
import pymc3 as pm
import numpy as np
import matplotlib.pyplot as plt
plt.style.use('seaborn-darkgrid')
print('Running on PyMC3 v{}'.format(pm.__version__))
I prefer print() which doesnt leave a '' mark :-p
I updated my previous comment with the print() function.
Close as it is outdated.
Most helpful comment
I would prefer