Skip to content

Commit

Permalink
Merge pull request #62 from nschloe/rst-test
Browse files Browse the repository at this point in the history
Rst test
  • Loading branch information
nschloe committed Oct 14, 2015
2 parents 661ee72 + e8e559f commit bddd2ae
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 11 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
doc/_build/
MANIFEST
README.rst
dist/
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ default:

README.rst: README.md
pandoc README.md -o README.rst
python setup.py check -r -s || exit 1

upload: setup.py README.rst
python setup.py sdist upload --sign
Expand Down
11 changes: 3 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,14 +141,9 @@ To use the resulting TikZ/PGFPlots figures, your LaTeX installation needs
```python
tikz_save('myfile.tikz', figureheight='4cm', figurewidth='6cm')
```

IMPORTANT:
Height and width must be set large enough; setting it too low it may
result in a LaTeX compilation failure such as
- Dimension Too Large, or
- Arithmetic Overflow
(see information about these errors in [the manual of PGFPlots](http://pgfplots.sourceforge.net/pgfplots.pdf)).

Note that height and width must be set large enough; setting it too low may
result in a LaTeX compilation failure along the lines of `Dimension Too Large` or `Arithmetic Overflow`;
see information about these errors in [the PGFPlots manual](http://pgfplots.sourceforge.net/pgfplots.pdf).
To specify the dimension of the plot from within the LaTeX document, try
```python
tikz_save(
Expand Down
5 changes: 3 additions & 2 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,11 @@
# |version| and |release|, also used in various other places throughout the
# built documents.
#
from matplotlib2tikz import __version__
# The short X.Y version.
version = '0.2'
version = '.'.join(__version__.split('.')[:2])
# The full version, including alpha/beta/rc tags.
release = '0.2.2'
release = __version__

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
2 changes: 1 addition & 1 deletion matplotlib2tikz.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
__copyright__ = 'Copyright (c) 2010-2015, %s <%s>' % (__author__, __email__)
__credits__ = []
__license__ = 'MIT License'
__version__ = '0.2.2'
__version__ = '0.2.3'
__maintainer__ = 'Nico Schlömer'
__status__ = 'Production'

Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
matplotlib >= 1.4.0
ImageHash
Pillow >= 3.0.0
readme

0 comments on commit bddd2ae

Please sign in to comment.