You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**[Customizing the Appearance of Plots](https://github.com/matplotlib/mplfinance/blob/master/markdown/customization_and_styles.md)**(New features: June 2020)
23
+
-**[Customizing the Appearance of Plots](https://github.com/matplotlib/mplfinance/blob/master/markdown/customization_and_styles.md)**
23
24
-**[Adding Your Own Technical Studies to Plots](https://github.com/matplotlib/mplfinance/blob/master/examples/addplot.ipynb)**
24
-
-**[Subplots: Multiple Plots on a Single Figure](https://github.com/matplotlib/mplfinance/blob/master/markdown/subplots.md)** (**New features: August 2020**)
25
+
-**[Subplots: Multiple Plots on a Single Figure](https://github.com/matplotlib/mplfinance/blob/master/markdown/subplots.md)**
-**[Some Background History About This Package](https://github.com/matplotlib/mplfinance#history)**
31
34
-**[Old API Availability](https://github.com/matplotlib/mplfinance#oldapi)**
32
35
@@ -264,7 +267,10 @@ Notice, in the above chart, there are no gaps along the x-coordinate, even thoug
264
267
265
268
- However, sometimes people like to see these gaps, so that they can tell, with a quick glance, where the weekends and holidays fall.
266
269
267
-
- Non-trading days can be displayed with the `show_nontrading` keyword.
270
+
- Non-trading days can be displayed with the **`show_nontrading`** keyword.
271
+
- Note that for these purposes **non-trading** intervals are those that ***are not represented in the data at all***. (There are simply no rows for those dates or datetimes). This is because, when data is retrieved from an exchange or other market data source, that data typically will *not* include rows for non-trading days (weekends and holidays for example). Thus ...
272
+
-**`show_nontrading=True`** will display all dates (all time intervals) between the first time stamp and the last time stamp in the data (regardless of whether rows exist for those dates or datetimes).
273
+
-**`show_nontrading=False`** (the default value) will show ***only*** dates (or datetimes) that have actual rows in the data. (This means that if there are rows in your DataFrame that exist but contain only **`NaN`** values, these rows *will still appear* on the plot even if **`show_nontrading=False`**)
268
274
- For example, in the chart below, you can easily see weekends, as well as a gap at Thursday, November 28th for the U.S. Thanksgiving holiday.
269
275
270
276
@@ -584,7 +590,7 @@ It is my intention to archive the `matplotlib/mpl-finance` repository soon, and
584
590
585
591
**With this new ` mplfinance ` package installed, in addition to the new API, users can still access the old API**.<br> The old API may be removed someday, but for the foreseeable future we will keep it ... at least until we are very confident that users of the old API can accomplish the same things with the new API.
586
592
587
-
To access the old API with the new ` mplfinance ` package installed, change the old import statments
593
+
To access the old API with the new ` mplfinance ` package installed, change the old import statements
0 commit comments