Skip to content

Commit dcf1191

Browse files
authored
Merge pull request #212 from nschloe/version-bump
Version bump
2 parents 559d6b7 + 6565e83 commit dcf1191

File tree

2 files changed

+11
-10
lines changed

2 files changed

+11
-10
lines changed

README.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
# matplotlib2tikz
22

3-
[![CircleCI](https://circleci.com/gh/nschloe/matplotlib2tikz.svg?style=svg)](https://circleci.com/gh/nschloe/matplotlib2tikz)
3+
[![CircleCI](https://img.shields.io/circleci/project/github/nschloe/matplotlib2tikz/master.svg)](https://circleci.com/gh/nschloe/matplotlib2tikz/tree/master)
44
[![codecov](https://codecov.io/gh/nschloe/matplotlib2tikz/branch/master/graph/badge.svg)](https://codecov.io/gh/nschloe/matplotlib2tikz)
55
[![Documentation Status](https://readthedocs.org/projects/matplotlib2tikz/badge/?version=latest)](https://readthedocs.org/projects/matplotlib2tikz/?badge=latest)
66
[![PyPi Version](https://img.shields.io/pypi/v/matplotlib2tikz.svg)](https://pypi.python.org/pypi/matplotlib2tikz)
7-
[![GitHub stars](https://img.shields.io/github/stars/nschloe/matplotlib2tikz.svg?style=social&label=Star&maxAge=2592000)](https://github.com/nschloe/matplotlib2tikz)
7+
[![awesome](https://img.shields.io/badge/awesome-yes-brightgreen.svg)](https://img.shields.io/badge/awesome-yes-brightgreen.svg)
8+
[![GitHub stars](https://img.shields.io/github/stars/nschloe/matplotlib2tikz.svg?style=social&label=Stars&maxAge=2592000)](https://github.com/nschloe/matplotlib2tikz)
89

910
This is matplotlib2tikz, a Python tool for converting matplotlib figures into
1011
[PGFPlots](https://www.ctan.org/pkg/pgfplots)
@@ -20,7 +21,7 @@ The output of matplotlib2tikz is in
2021
[PGFPlots](http://pgfplots.sourceforge.net/pgfplots.pdf), a LaTeX library that
2122
sits on top of TikZ and describes graphs in terms of axes, data etc.
2223
Consequently, the output of matplotlib2tikz retains more information, can be
23-
more easily understood, and is more easily editable than [raw TikZ output](http://matplotlib.org/users/whats_new.html#pgf-tikz-backend).
24+
more easily understood, and is more easily editable than [raw TikZ output](https://matplotlib.org/users/whats_new.html#pgf-tikz-backend).
2425
For example, the matplotlib figure
2526
```python,test
2627
import matplotlib.pyplot as plt
@@ -33,7 +34,7 @@ s = np.sin(2*np.pi*t)
3334
s2 = np.cos(2*np.pi*t)
3435
plt.plot(t, s, 'o-', lw=4.1)
3536
plt.plot(t, s2, 'o-', lw=4.1)
36-
plt.xlabel('time(s)')
37+
plt.xlabel('time (s)')
3738
plt.ylabel('Voltage (mV)')
3839
plt.title('Simple plot $\\frac{\\alpha}{2}$')
3940
plt.grid(True)
@@ -51,7 +52,7 @@ tikz_save('test.tex')
5152
5253
\begin{axis}[
5354
title={Simple plot $\frac{\alpha}{2}$},
54-
xlabel={time(s)},
55+
xlabel={time (s)},
5556
ylabel={Voltage (mV)},
5657
xmin=-0.095, xmax=1.995,
5758
ymin=-1.1, ymax=1.1,
@@ -104,7 +105,7 @@ to install/update.
104105

105106
2. Instead of `pyplot.show()`, invoke matplotlib2tikz by
106107
```python
107-
tikz_save('mytikz.tex');
108+
tikz_save('mytikz.tex')
108109
```
109110
to store the TikZ file as `mytikz.tex`. Load the library with:
110111
```python
@@ -123,8 +124,8 @@ to install/update.
123124
```python
124125
tikz_save(
125126
'mytikz.tex',
126-
figureheight = '\\figureheight',
127-
figurewidth = '\\figurewidth'
127+
figureheight='\\figureheight',
128+
figurewidth='\\figurewidth'
128129
)
129130
```
130131
and in the LaTeX source
@@ -180,7 +181,7 @@ pytest
180181
```
181182
182183
The final pHash may depend on any of the tools used during the process. For
183-
example, if your version of [Pillow](https://pypi.python.org/pypi/Pillow/3.0.0)
184+
example, if your version of [Pillow](https://pypi.python.org/pypi/Pillow/4.3.0)
184185
is too old, the pHash function might operate slightly differently and produce a
185186
slightly different pHash, resulting in a failing test. If tests are failing on
186187
your local machine, you should first make sure to have an up-to-date Pillow.

matplotlib2tikz/__about__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
__copyright__ = 'Copyright (c) 2010-2017, %s <%s>' % (__author__, __email__)
66
__credits__ = []
77
__license__ = 'License :: OSI Approved :: MIT License'
8-
__version__ = '0.6.13'
8+
__version__ = '0.6.14'
99
__maintainer__ = u'Nico Schlömer'
1010
__status__ = 'Development Status :: 5 - Production/Stable'

0 commit comments

Comments
 (0)