Name | wxmplot JSON |
Version |
2025.1.0
JSON |
| download |
home_page | None |
Summary | wxPython plotting widgets using matplotlib |
upload_time | 2025-01-20 03:31:51 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.9 |
license | The MIT License Copyright (c) 2022 Matthew Newville, The University of Chicago Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXP80RESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE qUSE OR OTHER DEALINGS IN THE SOFTWARE. |
keywords |
wxpython
matplotlib
|
VCS |
 |
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
[](https://pypi.org/project/wxmplot)
[](https://pepy.tech/project/wxmplot)
wxmplot provides advanced `wxPython`_ widgets for plotting and image display
of numerical data based on `matplotlib`_. While `matplotlib`_ provides
excellent general purpose plotting functionality and supports many GUI and
non-GUI backends it does not have a very tight integration with any
particular GUI toolkit. With a large number of plotting components and
options, it is not easy for programmers to select plotting options for every
stuation and not easy for end users to manipulate `matplotlib`_ plots.
Similarly, while `wxPython`_ has some plotting functionality, it has nothing
as good or complete as `matplotlib`_. The wxmplot package attempts to bridge
that gap. With the plotting and image display Panels and Frames from
wxmplot, programmers are able to provide plotting widgets that make it easy
for end users to customize plots and interact with their data.
WXMplot provides wx.Panels for basic 2D line plots and image display that are
richly featured and provide end-users with interactivity (zooming, reading
positions, rotating images) and customization (line types, labels, marker
type, colors, and color tables) of the graphics without having to know
matplotlib. wxmplot does not expose all of matplotlib's capabilities, but
does provide 2D plotting and image display Panels and Frames that are easy to
add to wxPython applications to handle many common plotting and image display
needs.
The wxmplot package is aimed at programmers who want to include high quality
scientific graphics in their applications that can be manipulated by the
end-user. If you're a python programmer who is comfortable writing complex
pyplot scripts or plotting interactively from IPython, this package may seem
too limiting for your needs. On the other hand, wxmplot provides more and
and better customizations than matplotlib's basic navigation toolbars.
The main widigets provided by wxmplot are:
PlotPanel: wx.Panel for basic 2-D line plots (roughly matplotlib `plot`)
PlotFrame: wx.Frame containing a PlotPanel
ImagePanel: wx.Panel for image display (roughly matplotlib `imshow`)
ImageFrame: wx.Frame containing ImagePanel
2D Line plotting with PlotPanel /PlotFrame
------------------------------------
PlotPanel and PlotFrame give the end-user the ability to:
1. display x, y coordinates (left-click)
2. zoom in on a particular region of the plot (left-drag)
3. customize titles, labels, legend, color, linestyle, marker,
and whether a grid is shown. A separate configuration frame
is used to set these attributes.
4. save high-qualiy plot images (as PNGs), copy to system
clipboard, or print.
For the programmer, these provide simple plotting methods:
plot(x,y): start a new plot, and plot data x,y
Some of the optional arguments (all keyword/values) include
color='Blue' for any X11 color name, (rgb) tuple, or '#RRGGBB'
style='solid' 'solid,'dashed','dotted','dot-dash'
linewidth=2 integer 0 (no line) to 10
marker='None' any of a wide range of marker symbols
markersize=8 integer 0 to 30
xlabel=' ' label for X axis
ylabel=' ' label for Y axis
title=' ' title for top of PlotFrame
grid=True boolean for whether to show grid.
oplot(x,y): plot data x,y, on same plot as current data
with optional arguments as plot()
clear(): clear plot
save_figure(): bring up file dialog for saving image of figure
Image Display with ImagePanel and ImageFrame
------------------------------------------
This displays a numpy array as an greyscale or false color image. The end
user can zoom in, rotate, or flip the image, and adjust the smoothing of
the image and adjust the color table and intensity scale.
Programmatically, one can make the same adjustments to an ImagePanel by
changing its configuaration attributes and running the redraw() method.
=====
last update: 2018-Oct-13 Matthew Newville <newville@cars.uchicago.edu>
Raw data
{
"_id": null,
"home_page": null,
"name": "wxmplot",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": "wxPython, matplotlib",
"author": null,
"author_email": "Matthew Newville <matt.newville@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/f6/c9/9d76b36b3246f635a37d770a4ebc7a964947db913f58bf511c12913333c4/wxmplot-2025.1.0.tar.gz",
"platform": null,
"description": "[](https://pypi.org/project/wxmplot)\n[](https://pepy.tech/project/wxmplot)\n\n\nwxmplot provides advanced `wxPython`_ widgets for plotting and image display\nof numerical data based on `matplotlib`_. While `matplotlib`_ provides\nexcellent general purpose plotting functionality and supports many GUI and\nnon-GUI backends it does not have a very tight integration with any\nparticular GUI toolkit. With a large number of plotting components and\noptions, it is not easy for programmers to select plotting options for every\nstuation and not easy for end users to manipulate `matplotlib`_ plots.\nSimilarly, while `wxPython`_ has some plotting functionality, it has nothing\nas good or complete as `matplotlib`_. The wxmplot package attempts to bridge\nthat gap. With the plotting and image display Panels and Frames from\nwxmplot, programmers are able to provide plotting widgets that make it easy\nfor end users to customize plots and interact with their data.\n\nWXMplot provides wx.Panels for basic 2D line plots and image display that are\nrichly featured and provide end-users with interactivity (zooming, reading\npositions, rotating images) and customization (line types, labels, marker\ntype, colors, and color tables) of the graphics without having to know\nmatplotlib. wxmplot does not expose all of matplotlib's capabilities, but\ndoes provide 2D plotting and image display Panels and Frames that are easy to\nadd to wxPython applications to handle many common plotting and image display\nneeds.\n\nThe wxmplot package is aimed at programmers who want to include high quality\nscientific graphics in their applications that can be manipulated by the\nend-user. If you're a python programmer who is comfortable writing complex\npyplot scripts or plotting interactively from IPython, this package may seem\ntoo limiting for your needs. On the other hand, wxmplot provides more and\nand better customizations than matplotlib's basic navigation toolbars.\n\nThe main widigets provided by wxmplot are:\n\n\t PlotPanel: wx.Panel for basic 2-D line plots (roughly matplotlib `plot`)\n\n\t PlotFrame: wx.Frame containing a PlotPanel\n\n\t ImagePanel: wx.Panel for image display (roughly matplotlib `imshow`)\n\n\t ImageFrame: wx.Frame containing ImagePanel\n\n2D Line plotting with PlotPanel /PlotFrame\n------------------------------------\n\n PlotPanel and PlotFrame give the end-user the ability to:\n\n 1. display x, y coordinates (left-click)\n 2. zoom in on a particular region of the plot (left-drag)\n 3. customize titles, labels, legend, color, linestyle, marker,\n\t and whether a grid is shown. A separate configuration frame\n\t is used to set these attributes.\n 4. save high-qualiy plot images (as PNGs), copy to system\n\t clipboard, or print.\n\nFor the programmer, these provide simple plotting methods:\n\n plot(x,y): start a new plot, and plot data x,y\n\nSome of the optional arguments (all keyword/values) include\n\n\t color='Blue' for any X11 color name, (rgb) tuple, or '#RRGGBB'\n\t style='solid' 'solid,'dashed','dotted','dot-dash'\n\t linewidth=2 integer 0 (no line) to 10\n\t marker='None' any of a wide range of marker symbols\n\t markersize=8 integer 0 to 30\n\t xlabel=' ' label for X axis\n\t ylabel=' ' label for Y axis\n\t title=' ' title for top of PlotFrame\n\t grid=True boolean for whether to show grid.\n\n oplot(x,y): plot data x,y, on same plot as current data\n\n\t with optional arguments as plot()\n\n clear(): clear plot\n\n save_figure(): bring up file dialog for saving image of figure\n\nImage Display with ImagePanel and ImageFrame\n------------------------------------------\n\nThis displays a numpy array as an greyscale or false color image. The end\nuser can zoom in, rotate, or flip the image, and adjust the smoothing of\nthe image and adjust the color table and intensity scale.\n\nProgrammatically, one can make the same adjustments to an ImagePanel by\nchanging its configuaration attributes and running the redraw() method.\n\n=====\n\nlast update: 2018-Oct-13 Matthew Newville <newville@cars.uchicago.edu>\n",
"bugtrack_url": null,
"license": "The MIT License Copyright (c) 2022 Matthew Newville, The University of Chicago Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXP80RESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE qUSE OR OTHER DEALINGS IN THE SOFTWARE. ",
"summary": "wxPython plotting widgets using matplotlib",
"version": "2025.1.0",
"project_urls": {
"Documentation": "https://newville.github.io/wxmplot",
"Hoempage": "https://github.com/newville/wxmplot",
"Tracker": "https://github.com/newville/wxmplot/issues"
},
"split_keywords": [
"wxpython",
" matplotlib"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "07d4efddc7c691a314af3a9cb6960e800e076385c5de495d00a12ce059d9a396",
"md5": "2740c7b476bc0ab42e0ab1405259735c",
"sha256": "67b7ee82bd38f7570568835033fc632af8f1a2c37185236b0c2187304e615b96"
},
"downloads": -1,
"filename": "wxmplot-2025.1.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "2740c7b476bc0ab42e0ab1405259735c",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 101172,
"upload_time": "2025-01-20T03:31:49",
"upload_time_iso_8601": "2025-01-20T03:31:49.712554Z",
"url": "https://files.pythonhosted.org/packages/07/d4/efddc7c691a314af3a9cb6960e800e076385c5de495d00a12ce059d9a396/wxmplot-2025.1.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "f6c99d76b36b3246f635a37d770a4ebc7a964947db913f58bf511c12913333c4",
"md5": "6f5f9a5cfb31ba744473e2215cc79070",
"sha256": "389d6a842361cd3acecc035099f251f37550d3b8f42896b9ae20b56921bf781e"
},
"downloads": -1,
"filename": "wxmplot-2025.1.0.tar.gz",
"has_sig": false,
"md5_digest": "6f5f9a5cfb31ba744473e2215cc79070",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 143939,
"upload_time": "2025-01-20T03:31:51",
"upload_time_iso_8601": "2025-01-20T03:31:51.566781Z",
"url": "https://files.pythonhosted.org/packages/f6/c9/9d76b36b3246f635a37d770a4ebc7a964947db913f58bf511c12913333c4/wxmplot-2025.1.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-01-20 03:31:51",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "newville",
"github_project": "wxmplot",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "wxmplot"
}