Commit graph

32 commits

Author SHA1 Message Date
Ben Letham
9fb8f103d6 Minor simplification to weekly plotting logic 2020-08-17 17:40:01 -07:00
anqus
ad53b428c3
Plot continuous weekly seasonality with sub daily data (#1615)
* Check frequency of data

* If sub-daily, use plot_seasonality()

* Format xticks as weekdays for plot_seasonality()

* Display 8 xticks for weekly component
2020-08-12 14:30:06 -07:00
Robin Teuwens
87844821d3
Making sure 'holiday' is a Dataframe when using plot_components_ploty() (#1526)
* Issue #1525: Using m.construct_holiday_dataframe() to make sure 'holidays' is a DataFrame.

* #1525 | issuecomment-639399524 | enhancement: have plotly graph the holiday component consistent with matplotlib.

Co-authored-by: Robin Teuwens <teuwens@electris.lu>
2020-06-10 17:33:12 -07:00
Ryan Nazareth
59f34ebc5f
suppress plotly error logging (#1332)
* raise logging level to critical for plot module

* remove setlevel for plot logger
2020-02-17 15:00:14 -08:00
Ben Letham
30e68fd467 Fix deprecation warning from plotly 2020-02-04 15:55:12 -08:00
Rômulo Madureira Rodrigues
ffb0ea86e2
Correction for issue #1304\n\nChange use of weekday_name to day_name to add consistency with pandas 1.0. (#1308) 2020-02-03 12:40:20 -08:00
Maxim Grishin
a6646670b9 Fix plotting with 0 changepoints 2019-11-06 15:23:21 -08:00
Alexander Gawrilow
a6a1381a0a disable plotting uncertainties if m.uncertainty_samples is 0 or False 2019-08-09 12:06:24 -07:00
Olof-Hojvall
0d37a46593 Fixed Plotly Holiday Hover Text 2019-07-05 08:34:18 -07:00
Olof-Hojvall
3ac99e18d4 Creation of new Plotly plot for all components 2019-07-05 08:34:18 -07:00
Ben Letham
7ff33137eb Change to MIT license 2019-05-21 11:40:04 -07:00
Ben Letham
a087eaec84 Fix FutureWarning in plotting by deregistering matplotlib converters (the future behavior). Also fix bad date formatting in non-daily plot that started came with change in matplotlib default in 3.0.2 2019-05-14 15:26:55 -07:00
Ben Letham
269133c133 Change cross validation performance metrics to first aggregate over horizon before computing rolling average (#839, #863) 2019-05-08 10:47:26 -07:00
Ben Letham
4e5e223e4f Add plotly plot to quickstart example 2019-05-06 16:15:23 -07:00
Olof Höjvall
ee14933b3f Changed returned object of plot_plotly, addressing #937 (#954) 2019-05-06 13:55:25 -07:00
Olof Höjvall
c756d20100 Added a interactive Plotly plot of the forecast (#915) 2019-04-17 16:47:16 -07:00
Olof Höjvall
8eea5a1ca3 Feature Proposal with Python Draft: Masked seasonality (#873)
* Added feature to mask seasonality

* Added conditional seasonality tests and fixed plotting it

* Fixed diagnostics for conditional seasonality and cleaned up code
2019-03-18 10:04:35 -07:00
Mpho Mphego
f16e22731f Update and rename README to README.md and Unicode strings (#766)
* Update and rename README to README.md and Unicode strings

Updated Readme file and converted from rst to markdown.
String contains ascii characters (converted to unicode string)

Signed-off-by: Mpho Mphego mpho112@gmail.com

* Deprecated import `from __future__ import unicode_literals` removed and ran isort module
https://mail.python.org/pipermail/python-dev/2016-December/147009.html

Included setuptool-git in the requirement.txt and updated `setup.py`
Reasons for this are highlighted here -> https://github.com/msabramo/setuptools-git#usage
2018-12-20 15:33:23 -08:00
Ben Letham
635ae5a1a6 Have fixed ordering for components plots 2018-12-03 20:14:24 -08:00
Ben Letham
f44285038c Allow setting other handlers in the logging 2018-12-03 16:29:07 -08:00
Ben Letham
e3ad97b8b3 Documentation fixes 2018-12-03 13:25:26 -08:00
Ben Letham
536fe931c6 Add documentation for country holidays 2018-12-03 11:54:55 -08:00
Ben Letham
9928dc39ae Fix missing kwarg 2018-11-02 17:27:45 -07:00
Florian Schäfer
55ca33891e Figsize argument (#706)
* Add 'figsize' argument to all plotting methods

* Add docstrings for 'figsize' arguments
2018-10-18 18:04:53 -07:00
Kevin Wilson
8d804fce0c Explicitly use 64-bit integers in plot functions (#577)
If this is installed on a 32-bit system (rare nowadays, but they still exist) then the conversion to `int` from `timedelta64[ns]` in `plot_cross_validation_metric` will fail. This patch explicitly uses an `np.int64` for this conversion.
2018-06-18 14:15:16 -07:00
Ben Letham
cbe1f5e623 Documentation and plot fix for multiplicative seasonality 2018-05-28 12:37:23 -07:00
Ben Letham
7c010aac51 Multiplicative seasonality (R) 2018-05-15 10:07:38 -07:00
Ben Letham
f1e24d3c2c Show multiplicative seasonality as percent in plots (Py) 2018-05-11 17:54:29 -07:00
Ben Letham
8d8c5b41ce Multiplicative seasonality (Py) 2018-05-09 12:25:29 -07:00
Ben Letham
8198afe17a Add a visualiztion of cross validation prediction performance vs. horizon 2018-05-04 11:21:40 -07:00
Ben Letham
3da46503ed Add utility for plotting changepoints (Py), and put in plotting file (R and Py) 2018-05-03 11:10:11 -07:00
Ben Letham
7c95c62cf0 Move plotting into a separate file (Py) 2018-05-03 10:23:56 -07:00