Skip to content

Commit 074e3c4

Browse files
committed
update index, add composite image
1 parent a125bbf commit 074e3c4

3 files changed

Lines changed: 51 additions & 44 deletions

File tree

doc/_templates/indexsidebar.html

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,11 @@ <h3>Contents</h3>
88
<li>&nbsp; &nbsp;<a href="{{ pathto('imagepanel') }}"> Image API</a></li>
99
<li>&nbsp; &nbsp;<a href="{{ pathto('examples') }}"> Examples</a></li>
1010
<li>&nbsp; &nbsp;<a href="{{ pathto('other') }}"> Speciality Displays</a></li>
11+
<li>&nbsp; &nbsp;<a href="{{ pathto('comparisons') }}">Comparisons</a></li>
1112
</ul>
1213
<p>
1314

1415
<h3>WXMPLOT</h3>
15-
<p>Current version: <b>{{ release }}</b></p>
16-
<p>Install: &nbsp; <b>pip install wxmplot</b>
17-
<p>Develop:
18-
&nbsp; <a href="https://github.com/newville/wxmplot/">github.com</a>
19-
<p>
20-
21-
22-
<p>
16+
Current version: {{ release }} <br>
17+
Install: &nbsp; pip install wxmplot<br>
18+
Develop: &nbsp; <a href="https://github.com/newville/wxmplot/">github.com</a>

doc/conf.py

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,30 +20,36 @@
2020
release = version_parse(wxmplot.__version__).public
2121

2222
html_title = "WXMPLOT: interactive plotting with Python"
23-
html_short_title = "WXMPLOT: wxPython+matplotlib"
23+
html_short_title = "WXMPLOT"
2424

2525
# sys.path.append(os.path.abspath(os.path.join('.')))
2626
extensions = ['sphinx.ext.autodoc', 'sphinx.ext.mathjax',
27-
'sphinx.ext.napoleon', 'sphinxcontrib.video']
27+
'sphinx.ext.napoleon', 'sphinxcontrib.video',
28+
'sphinx_copybutton']
2829

29-
autoclass_content = 'both'
30+
# autoclass_content = 'both'
3031
templates_path = ['_templates']
3132
source_suffix = {'.rst': 'restructuredtext'}
32-
master_doc = 'index'
3333

3434
exclude_trees = ['_build']
3535
default_role = None
36+
source_encoding = 'utf-8'
3637

3738
add_function_parentheses = True
38-
add_module_names = False
39+
40+
add_module_names = True
3941
pygments_style = 'sphinx'
4042

4143
html_theme_path = ['sphinx_theme']
4244
html_theme = 'bizstyle'
4345

4446

4547
html_static_path = ['_static']
46-
html_sidebars = {'index': ['indexsidebar.html', 'searchbox.html']}
48+
html_sidebars = {
49+
'index': ["indexsidebar.html", "sourcelink.html", "searchbox.html"],
50+
"**": [ "localtoc.html", "relations.html", "sourcelink.html", "searchbox.html"]
51+
}
52+
4753
html_domain_indices = False
4854
html_use_index = True
4955
html_show_sourcelink = True

doc/index.rst

Lines changed: 35 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -6,36 +6,41 @@ WXMPLOT: plotting widgets for Python
66
.. _wxPython: https://www.wxpython.org/
77
.. _matplotlib: https://matplotlib.org/
88

9-
`wxmplot` provides high-level plotting of numerical data for Python, combining
10-
`wxPython`_ widgets and `matplotlib`_.
11-
12-
While `matplotlib`_ provides excellent general-purpose plotting functionality
13-
supporting many backends, it does not have tight integration with any
14-
particular GUI toolkit. The `matplotlib.pyplot` module provides high-level
15-
functions for plotting and displaying data, but interacting with and
16-
customizing the plots from it Navigation Toolbars are minimal. On the other
17-
hand, `wxPython`_ has some basic plotting functionality, but it has nothing as
18-
good as `matplotlib`_.
19-
20-
`wxmplot` bridges the gap between `matplotlib`_ and `wxPython`_ by providing
21-
wxPython widgets and user-friendly functions for basic line plots, image
22-
display, and some custom plots. The displays made with `wxmplot` give
23-
end-users highly interactive displays of their data that allow zooming and
24-
un-zooming, reporting mouse positions, rotating images, and changing color
25-
themes. The displays are highly configurable, helping the user to change many
26-
aspects of the plot such as colors, line types, labels, marker type, color
27-
tables, smoothing. While `wxmplot` does not directly expose all of
28-
matplotlib's capabilities, it focuses on highly-interactive plotting and image
29-
display tools that handle many of the most common plotting and image display
30-
needs for scientific data, and permits access and to the underlying matplotlib
31-
API for those that need it.
32-
33-
The :mod:`wxmplot.interactive` functions are particularly easy to use, and
34-
enable script writers to make XY line plots and image displays from their data,
35-
and to interact with and configure these displays as part of exploratory data
36-
analysis. Programmers can use the `wxmplot` widgets to include these high
37-
quality graphical displays of data in their wxPython applications to enable
38-
users to explore their data.
9+
`wxmplot` provides high-level, interactive plotting of scientific data
10+
for Python, combining `wxPython`_ and `matplotlib`_.
11+
12+
.. image:: images/wxmplot_composite.png
13+
:width: 98 %
14+
15+
16+
`matplotlib`_ provides excellent general-purpose plotting
17+
functionality. While it supports many backends, it does not have tight
18+
integration with any particular GUI toolkit. And while the
19+
`matplotlib.pyplot` module provides easy-to-use, high-level functions
20+
for plotting and displaying data, it has minimal interactivity and
21+
ability to customize plots after they are mde.
22+
23+
`wxmplot` combines `matplotlib`_ and `wxPython`_ to provide graphical
24+
elements (wxPython widgets) and user-friendly, interactive functions
25+
for basic line plots, image display, and some custom plots such as
26+
histograms and scatter plots. The displays made with `wxmplot` give
27+
end-users interactive displays of their data that allow zooming and
28+
un-zooming, reporting mouse positions, rotating images, and changing
29+
color themes. The displays are highly configurable, helping the user
30+
to change many aspects of the plot such as colors, line types, labels,
31+
marker type, color tables, smoothing. While `wxmplot` does not expose
32+
all of matplotlib's capabilities, it handles many of the most common
33+
plotting and image display needs for scientific data, and makes these
34+
highly interactive. It also permits access and to the underlying
35+
matplotlib API for those that need it.
36+
37+
The functions in :mod:`wxmplot.interactive` are particularly easy to
38+
use, and enable script writers to make XY line plots and image
39+
displays from their data, and to interact with and configure these
40+
displays as part of exploratory data analysis. Programmers can use
41+
the `wxmplot` widgets to include these high quality graphical displays
42+
of data in their wxPython applications to enable users to explore
43+
their data.
3944

4045
.. toctree::
4146
:maxdepth: 2

0 commit comments

Comments
 (0)