Skip to content

Commit a723b03

Browse files
Merge pull request #153 from DanielGoldfarb/master
Version 0.12.5 Enhancements and Bug Fixes
2 parents 9cb18e8 + 3818042 commit a723b03

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+20411
-34893
lines changed

CONTRIBUTING.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
- Contributing can as simple as **asking questions**, participating in discussions, suggesting enhancements, etc. **All of these are valuable!** There are many ways to contribute.
22

3-
- All of the usual/typical open source contribution guidelines apply (see for example, **[Matplotlib Contributing](https://matplotlib.org/3.1.1/devel/contributing.html)** and **[Open Source Guide to Contributing](https://opensource.guide/how-to-contribute/)**)
4-
so here, on this page, we will mention just a few items for which we may be particular in **mplfinance**.
3+
- All of the usual/typical open source contribution guidelines apply (see for example, **[Matplotlib Contributing](https://matplotlib.org/3.1.1/devel/contributing.html)** and **[Open Source Guide to Contributing](https://opensource.guide/how-to-contribute/)**). Therefore, here, on this page, we will mention just a few items that we may be particular about in **mplfinance**.
54

65

76
- Coding:
87
- If you write code, please don't use tabs; rather use spaces.
9-
- If you add a significant feature, that is a feature for which explaining its usage takes more than just a few sentences, please also create a "tutorial notebook" for that feature. **[For examples of tutorial notebooks, please see the jupyter notebooks in the examples folder.](https://github.com/matplotlib/mplfinance/tree/master/examples)**
8+
- If you add a significant feature --that is, a feature for which explaining its usage takes more than just a few sentences-- please also create a "tutorial notebook" for that feature. **[For examples of tutorial notebooks, please see the jupyter notebooks in the examples folder.](https://github.com/matplotlib/mplfinance/tree/master/examples)**
109
- If you add a significant feature, please also create a regression test file **[in the tests folder](https://github.com/matplotlib/mplfinance/tree/master/tests)**, similar to the other regression tests that are there. *Often, the simplest way to do this is to take a few of the examples from the feature's "tutorial notebook"* (see previous point).

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,22 @@
1111

1212
---
1313

14+
# <a name="announcements"></a>Announcing Version 0.12.5 Enhancements
15+
### [Version 0.12.5 brings a number of enhancements to mplfinance. Click here for full details.](https://github.com/matplotlib/mplfinance/blob/master/RELEASE_NOTES.md)
16+
17+
---
18+
1419
# <a name="tutorials"></a>Contents and Tutorials
1520

1621
- **[The New API](https://github.com/matplotlib/mplfinance#newapi)**
1722
- **[Tutorials](https://github.com/matplotlib/mplfinance#tutorials)**
1823
- **[Basic Usage](https://github.com/matplotlib/mplfinance#usage)**
24+
- **[Customizing the Appearance of Plots](https://github.com/matplotlib/mplfinance/blob/master/markdown/customization_and_styles.md)** (**New** features June 2020)
1925
- **[Adding Your Own Technical Studies to Plots](https://github.com/matplotlib/mplfinance/blob/master/examples/addplot.ipynb)**
20-
- **[Saving the Plot to a File](https://github.com/matplotlib/mplfinance/blob/master/examples/savefig.ipynb)**
21-
- **[Customizing the Appearance of Plots](https://github.com/matplotlib/mplfinance/blob/master/examples/customization_and_styles.ipynb)**
26+
- **[Subplots: Multiple Plots on a Single Figure](https://github.com/matplotlib/mplfinance/blob/master/markdown/subplots.md)** (**New** June 2020)
2227
- **[Price-Movement Plots (Renko, P&F, etc)](https://github.com/matplotlib/mplfinance/blob/master/examples/price-movement_plots.ipynb)**
2328
- **[Trends, Support, Resistance, and Trading Lines](https://github.com/matplotlib/mplfinance/blob/master/examples/using_lines.ipynb)**
29+
- **[Saving the Plot to a File](https://github.com/matplotlib/mplfinance/blob/master/examples/savefig.ipynb)**
2430
- **[Latest Release Info](https://github.com/matplotlib/mplfinance/blob/master/RELEASE_NOTES.md)**
2531
- **[Some Background History About This Package](https://github.com/matplotlib/mplfinance#history)**
2632
- **[Old API Availability](https://github.com/matplotlib/mplfinance#oldapi)**

RELEASE_NOTES.md

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,41 @@
1-
- **v0.12.4a0 &nbsp;&nbsp;&nbsp;&nbsp; Released 2020-05-01**
1+
### <a name="v0.12.5a0"></a>v0.12.5a0 &nbsp;&nbsp;&nbsp;&nbsp; Released Date 2020-06-10
2+
#### Enhancements
3+
- **[Subplots: Create up to 10 "panels"](https://github.com/matplotlib/mplfinance/blob/master/markdown/subplots.md)**
4+
- Can modify relative sizes of panels
5+
- Can modify which is "main" panel
6+
- Can modify which is "volume" panel
7+
- addplot can plot to any panel
8+
- MACD example
9+
- support bar charts in make_addplot (`type=` 'line', 'scatter', or 'bar')
10+
- make_addplot scatter now supports *sequence of markers* and sequence of colors<br>(Thank you [Elan Ernest](https://github.com/ImportanceOfBeingErnest) for posting the [sequence of markers solution here](https://github.com/matplotlib/matplotlib/issues/11155#issuecomment-385939618))
11+
- ability to custom format date/time labels ( ` datetime_format= `) (Thank you [Cam McLean](https://github.com/cammclean182))
12+
- ability to rotate date/time labels (` xrotation= `)
13+
- ability to turn axis off (`axisoff=True`) (Thank you [Will Whitty](https://github.com/tavurth) for testing, code review, and contributing code changes)
14+
- support ` tight_layout=True `
15+
- support ` fill_between= `
16+
- new algorithm for adjustment of candle widths, line widths, volume widths, ohlc tick widths **default change** (Thank you [Charles](https://github.com/char101) for your help).
17+
- ability to scale the algorithm (up or down)
18+
- ability to override the algorithm (i.e. set width and linewidth of volume bars, candles, ohlc bars. (iss num 81))
19+
- close plot when not needed to stay open **default change**
20+
- fixes "20 open plots" warning
21+
- removed code to close plots from regression tests: no longer needed
22+
- support NaNs in data to indicate missing data (also fix bug related to min/max and mav when NaNs in data) **default change** (Thank you [Charles](https://github.com/char101) for your help)
23+
- allows display low liquidity
24+
- remove support for -1 meaning missing data. -1 is now considered valid data.
25+
- Travis check to ensure each Pull Request has a new version (Thank you [Aaron Soellinger](https://github.com/free-soellingeraj))
26+
- remove rcParams context: modifications made by mplfinance are now availabile after calling mplfinance. **default change**
27+
28+
#### Bug Fixes
29+
- fix bug displaying a single candle
30+
- fix bug "StatisticsError" when only a single data point
31+
- fix poor choice of default color for ` type=line ` chart **default change**
32+
- fix `savefig` Figure Facecolor bug
33+
- fix ohlc bars color in "blueskies" style **default change**
34+
35+
---
36+
---
37+
38+
### v0.12.4a0 &nbsp;&nbsp;&nbsp;&nbsp; Release Date 2020-05-01
239

340
- regression tests for new API
441
- **[Renko plots](https://github.com/matplotlib/mplfinance/blob/master/examples/price-movement_plots.ipynb)** [(issue #11)](https://github.com/matplotlib/mplfinance/issues/11) &nbsp;&nbsp;&nbsp;&nbsp;(Thank you [Caleb Coffin @coffincw](https://github.com/coffincw))

TODO.md

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,13 @@
11
# Wish List - TODO - To Prioritize
22

3-
1. pass in Figure and Axes enhancement
4-
2. clean up code for easier maintenance
5-
3. debug issue#77:
6-
- ylimit diff scatter() vs plot()
7-
- ylimit vs how subplot is created.
8-
4. how use configuration file
9-
5. auto-pull updates for config file. possible?
10-
6. collect anonymous data on feature usage
11-
7. wrappers for technical studies.
12-
8. force version change with each Pull Request
13-
9. tagging releases
14-
10. documentation (replace old `https://matplotlib.org/api/finance_api.html`)
15-
11. make code more efficient (ex: tlines reconstructing data frame).
16-
12. add 'description' to valid kwargs table, and kwarg to print
17-
all kwargs information (kwarg and short description).
3+
- pass in Figure and Axes enhancement
4+
- clean up code for easier maintenance
5+
- how use configuration file
6+
- auto-pull updates for config file. possible?
7+
- collect anonymous data on feature usage
8+
- wrappers for technical studies.
9+
- documentation (replace old `https://matplotlib.org/api/finance_api.html`)
10+
- make code more efficient (ex: tlines reconstructing data frame).
11+
- **daily plot slower than intraday ???**
12+
- add 'description' to valid kwargs table, and kwarg to print all kwargs information (kwarg and short description).
1813

examples/addplot.ipynb

Lines changed: 63 additions & 48 deletions
Large diffs are not rendered by default.

examples/customization_and_styles.ipynb

Lines changed: 0 additions & 34257 deletions
This file was deleted.

examples/data/sample_subplot.png

64.5 KB
Loading

0 commit comments

Comments
 (0)