Skip to content

Commit edbdb9f

Browse files
committed
Merge branch 'master' of https://github.com/lukelbd/pubplot
2 parents 96329f8 + 9a2cfb1 commit edbdb9f

1 file changed

Lines changed: 25 additions & 27 deletions

File tree

README.rst

Lines changed: 25 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -8,25 +8,24 @@ ProPlot
88
=======
99

1010
An `object-oriented <https://matplotlib.org/api/api_overview.html>`__ `matplotlib <https://matplotlib.org/>`__ wrapper
11-
that provides versatile plotting utilities
12-
for making beautiful, publication-quality graphics.
13-
14-
Documentation
15-
-------------
16-
The documentation is published `here <https://lukelbd.github.io/proplot>`_.
11+
that can help you make beautiful, publication-quality graphics.
1712

1813
Installation
1914
------------
2015

2116
This package is a work-in-progress. Currently there is no formal release
22-
on PyPi. However, feel free to install directly from Github using:
17+
on PyPi (coming soon!). However, feel free to install directly from Github using:
2318

2419
::
2520

2621
pip install git+https://github.com/lukelbd/proplot.git#egg=proplot
2722

2823
The dependencies are `matplotlib <https://matplotlib.org/>`_ and `numpy <http://www.numpy.org/>`_. The optional geographic mapping features require `cartopy <https://scitools.org.uk/cartopy/docs/latest/>`_ and/or `basemap <https://matplotlib.org/basemap/index.html>`_.
2924

25+
Documentation
26+
-------------
27+
The documentation is published `here <https://lukelbd.github.io/proplot>`_.
28+
3029
Overview
3130
--------
3231

@@ -36,10 +35,10 @@ Import with
3635

3736
import proplot as plot
3837

39-
Most of the features derive from the `subplots` command, inspired
40-
by the pyplot `subplots` command.
38+
Most of the features derive from the ``subplots`` command, inspired
39+
by the pyplot command of the same name.
4140

42-
The next most important utility is the `format` method, available on every axes generated by `subplots`. Use this method to fine-tune your axis properties, titles, labels, limits, and much more.
41+
The next most important utility is the ``format`` method, available on every axes generated by ``subplots``. Use this method to fine-tune your axis properties, titles, labels, limits, and much more.
4342

4443
Here are some highlights of the remaining features:
4544

@@ -54,18 +53,18 @@ Here are some highlights of the remaining features:
5453
scaling.
5554
* Perceptually distinct named colors with easy-to-remember names,
5655
a ton of beautiful new colormaps, new property cycle colors.
57-
* Tools for making new make new merged colormaps and "perceptually
58-
uniform colormaps" on-the-fly. Tools for slicing and modifying existing
56+
* Tools for merging existing colormaps and making new "perceptually
57+
uniform" colormaps on-the-fly. Tools for slicing and modifying existing
5958
colormaps.
6059
* Making colorbars from lists of lines
6160
or colors. Making axes "inset" colorbars. Making legends with centered
6261
rows instead of aligned columns.
6362
* Integration with basemap and cartopy. Generate arbitrary
64-
grids of map projections in one go. Switch between the cartopy and
65-
basemap backends painlessly. Using the axes methods directly for basemap
66-
plotting, instead of the `Basemap` object.
67-
* Ability to add geographical features with the `format` command.
68-
Formatting geographic gridlines and labels.
63+
grids of arbitrary map projections in one go. Switch between the cartopy and
64+
basemap backends painlessly. Use the axes methods directly for basemap
65+
plotting, instead of the ``Basemap`` object.
66+
* Add geographic features with the ``format`` command.
67+
Customize geographic gridlines and gridline labels.
6968

7069
Shout out to `bradyrx <https://github.com/bradyrx>`__ for being the
7170
guinea pig and helping me fix a lot of the initial bugs. Check out his `decadal climate prediction package <https://github.com/bradyrx/climpred>`_.
@@ -79,24 +78,23 @@ different?
7978

8079
While parts of ProPlot were inspired by seaborn (in particular much
8180
of ``colors.py`` is drawn from seaborn’s ``palettes.py``), the goal for
82-
this project was quite different: It is intended to simplify the task
83-
of making publication-quality figures, and no more.
81+
this project was likely very different: It is intended to help you make
82+
publication-quality figures, and no more.
8483

8584
Seaborn largely attempts to merge the tasks of data analysis and
8685
visualization. ProPlot contains no analysis tools – it is expected
87-
that you analyze your data on your own time. Anyway, both `pandas`
88-
and `xarray` already have great built-in tools for visualizing
86+
that you analyze your data on your own time. Anyway, both ``pandas``
87+
and ``xarray`` already have great built-in tools for visualizing
8988
tabulated and geophysical data --
9089
and if ProPlot is imported, these tools will even work with its new
91-
colormaps. I was also able
90+
colormaps. This narrow focus also allowed me
9291
to integrate my features very closely with the matplotlib API (usually
93-
as enhancements of existing `Axes` and
94-
`Figure` methods),
95-
while the `seaborn` features are only accessible from commands on the module
92+
as enhancements of existing ``Axes`` and
93+
``Figure`` methods),
94+
while ``seaborn`` features are only accessible from commands on the module
9695
itself.
9796

98-
By focusing on this single task, I've added a number of
99-
powerful features well beyond the scope of `seaborn`.
97+
In summary, this is a package for academics and others that need compact, fine-tuned figures for use in professional settings. As such, it provides a number of powerful, easy-to-use features well beyond the scope of `seaborn`.
10098

10199
Contributions
102100
-------------

0 commit comments

Comments
 (0)