mirror of
https://github.com/saymrwulf/prophet.git
synced 2026-11-20 09:03:39 +00:00
Remove logging.root basicConfig on fbprophet import (#1336)
This commit is contained in:
parent
57990e6f50
commit
8c48f5b042
1 changed files with 1 additions and 3 deletions
|
|
@ -19,9 +19,7 @@ from fbprophet.models import StanBackendEnum
|
||||||
from fbprophet.plot import (plot, plot_components)
|
from fbprophet.plot import (plot, plot_components)
|
||||||
|
|
||||||
logger = logging.getLogger('fbprophet')
|
logger = logging.getLogger('fbprophet')
|
||||||
logger.addHandler(logging.NullHandler())
|
logger.setLevel(logging.INFO)
|
||||||
if len(logger.handlers) == 1:
|
|
||||||
logging.basicConfig(level=logging.INFO)
|
|
||||||
|
|
||||||
|
|
||||||
class Prophet(object):
|
class Prophet(object):
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue