All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Shapes support (documentation).
- Annotations support.
- Docstrings to
Scatter
. ndarray
support (documentation).- Jupyter lab and notebook support (documentation).
- Removed
num
dependence. - Removed
plotly_orca
and theorca
feature. Use thekaleido
feature for static image generation. - Updated Kaleido version in
plotly_kaleido
to 0.0.1.
- From<&str> implementation for
Title
.
- Optimised dependencies.
- Clearer deprecation message for
orca
related methods. - Wider use of
Default
.
- Plotly.rs Book.
- Using plotly.js from the official CDN is now the default. To use the local version use the
Plot::use_local_plotly
method. - Plot rasterization to
png
,jpg
,eps
,pdf
,webp
andsvg
using plotly/Kaleido, enabled using thekaleido
feature. - Multi-axis support and examples.
- Subplot support and examples.
- Colors can now be floating values within the color-scale range.
- OpenGL support for scatter plots (
Scatter::open_gl_mode
); useful for displaying large data-sets.
Layout
complete.- Updated
plotly
version to1.54.6
. plotly_orca
and theorca
feature are deprecated; usekaleido
instead.- All examples have been grouped to mirror the Plotly.rs book.
- Added error message to capture the scenario when there is no default browser (or no browser at all) on a machine. The message suggests a few alternatives.
- Documentation for
Plot
- A feature (
orca
) that enablesPlot
conversion to the following output formats: png, jpeg, webp, svg, pdf and eps- This optional feature is implemented in the
plotly_orca
crate
- This optional feature is implemented in the
- Box plot support
- Heat map support
- Contour plot support
- More histogram examples
- Filled lines example
- Using specific Plotly.js version: https://cdn.plot.ly/plotly-1.52.2.js
Plot::add_layout
changed toPlot::set_layout
as there is only one layout perPlot
TraceSerialize
renamed toTrace
Plot::show_jpg
renamed toPlot::show_jpeg
for consistency- Removed HexColor type. Hex color input is still supported using
String
s or string slices - Refactored project structure:
- All plots
Trace
s are now accessible from the main namespaceplotly::
. - Enums and structs common to more than 1 plot type and/or the
Layout
now live inplotly::common::
- Internal methods and structs that are not considered part of the public API are now in
plotly::private::
- All plots
- Color serialization was operating correctly only on Rgb, Rgba and Hex colors ignoring the named colors
- Surface plot
- More examples for scatter and line plots
- Completed implementation of the following:
- Scatter plot
- Box plot
- Scatter and Box plot with error bars
- Candlestick plot
- OHLC plot
- Extended README.md with a few basic examples
- The API is now based on the builder pattern
- Extended color set
Plot::show()
now correctly opens the plot in the default browser as is the case for MacOSX and Linux
- The following plot types are incomplete but fairly functional:
- Scatter plot
- Box plot
- Scatter and Box plot with error bars
- Candlestick plot
- OHLC plot
- Basic support for plot Layout
- Default template data for Layout
- Examples (See example_plots.rs)
- Line and scatter plot
- Data labels hover
- Data labels on the plot
- Geometric Brownian motion plot (scatter + line plot)
- Basic bar chart
- Grouped bar chart
- Stacked bar chart
- Basic symmetric error bars
- Bar chart with error bars
- Simple candlestick chart
- Geometric Brownian motion candlestick plot
- Simple OHLC chart
- Geometric Brownian motion OHLC plot
- Placeholder repository.
- Proof of concept implementation of a scatter plot.