GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing docs.rs — plotpy - Rust Expand descriptionRust plotting library using Python and Matplotlib This library implements high-level functions to generate plots and drawings. Although we use Python/Matplotlib, the goal is to provide a convenient Rust library that is different than Matplotlib. The difference happens because we want convenience for the Rust developer while getting the fantastic quality of Matplotlib 😀. Internally, we use Matplotlib via a Python 3 script.
First, we generate a python code in a directory of your choice (e.g., The Python script has the same name as the figure name given to the Plot::save function,
but with the We generate the Python script with the preamble listed in PYTHON_HEADER and the file should be useful for double checking or even directly adding Python/Matplotlib commands, in case the functionality is not implemented here yet. When calling Plot::save() or Plot::show(), if an error occurs, we generate a log
file in the same output directory with the same filename as the figure (and python script),
but with the The typical use of this library is by allocating structures such as Canvas, Curve, Contour, Histogram, Surface, Text (and more) and then passing them to Plot for the generation of the files mentioned above. The Plot::show() function may also be used to immediately see the plot or drawing on the screen. Alternatively, if evcxr is installed, the function Plot::show_in_jupyter() can be used to show the resulting figure in a Jupyter notebook. Each structure (e.g. Curve, Legend, or Text) defines many configuration options
that can be set by calling their own §ExampleStructs§
Enums§
Constants§
Traits§
Functions§
Type Aliases§
|
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |