diff --git a/CHANGELOG.md b/CHANGELOG.md index 5adc638a..8ec42fd0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,14 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a https://github.com/plotly/plotly.rs/pull/350 +## [0.14.1] - 2026-02-15 + +### Fixed + +- [[#387](https://github.com/plotly/plotly.rs/pull/387)] Fix HeatMap hovertext/text dimensions +- [[#385](https://github.com/plotly/plotly.rs/pull/385)] Add `{x,y}gap` parameter to heatmaps +- [[#381](https://github.com/plotly/plotly.rs/pull/381)] Make `Plot::default()` behave like `Plot::new()` + ## [0.14.0] - 2026-01-10 ### Fixed diff --git a/docs/book/src/fundamentals/static_image_export.md b/docs/book/src/fundamentals/static_image_export.md index 24a93224..931fa777 100644 --- a/docs/book/src/fundamentals/static_image_export.md +++ b/docs/book/src/fundamentals/static_image_export.md @@ -111,7 +111,7 @@ exporter.close(); - **PDF**: Portable Document Format ### Deprecated -- **EPS**: Encapsulated PostScript (will be removed in version 0.14.0) +- **EPS**: Encapsulated PostScript (will be removed in version 0.15.0) ## String Export diff --git a/plotly/Cargo.toml b/plotly/Cargo.toml index 3d3d0af5..c1cba1de 100644 --- a/plotly/Cargo.toml +++ b/plotly/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "plotly" -version = "0.14.0" +version = "0.14.1" description = "A plotting library powered by Plotly.js" authors = [ "Ioannis Giagkiozis ", @@ -49,9 +49,9 @@ all = [ # This is used for enabling extra debugging messages and debugging functionality debug = ["plotly_static?/debug"] -# DEPRECATED: kaleido feature will be removed in version 0.14.0. Use `static_export_*` features instead. +# DEPRECATED: kaleido feature will be removed in version 0.15.0. Use `static_export_*` features instead. kaleido = ["plotly_kaleido"] -# DEPRECATED: kaleido_download feature will be removed in version 0.14.0. Use `static_export_wd_download` instead. +# DEPRECATED: kaleido_download feature will be removed in version 0.15.0. Use `static_export_wd_download` instead. kaleido_download = ["plotly_kaleido/download"] diff --git a/plotly/src/lib.rs b/plotly/src/lib.rs index 7caab75d..6d436e71 100644 --- a/plotly/src/lib.rs +++ b/plotly/src/lib.rs @@ -5,7 +5,7 @@ //! ## Feature Deprecation Notice //! //! The `kaleido` and `kaleido_download` features are deprecated since version -//! 0.13.0 and will be removed in version 0.14.0. Please migrate to the +//! 0.13.0 and will be removed in version 0.15.0. Please migrate to the //! `plotly_static` and `static_export_*` features instead. #![recursion_limit = "256"] // lets us use a large serde_json::json! macro for testing crate::layout::Axis extern crate askama; @@ -15,14 +15,14 @@ extern crate serde; #[cfg(feature = "kaleido")] #[deprecated( since = "0.13.0", - note = "kaleido feature is deprecated and will be removed in version 0.14.0. Use plotly_static feature instead" + note = "kaleido feature is deprecated and will be removed in version 0.15.0. Use plotly_static feature instead" )] const _KALEIDO_DEPRECATED: () = (); #[cfg(feature = "kaleido_download")] #[deprecated( since = "0.13.0", - note = "kaleido_download feature is deprecated and will be removed in version 0.14.0. Use plotly_static_download feature instead" + note = "kaleido_download feature is deprecated and will be removed in version 0.15.0. Use plotly_static_download feature instead" )] const _KALEIDO_DOWNLOAD_DEPRECATED: () = (); diff --git a/plotly/src/plot.rs b/plotly/src/plot.rs index 7741d3c7..ab81e2a8 100644 --- a/plotly/src/plot.rs +++ b/plotly/src/plot.rs @@ -62,7 +62,7 @@ Consider using the `to_html` method obtain a string representation instead. If u - ImageFormat::WEBP - ImageFormat::SVG - ImageFormat::PDF -- ImageFormat::EPS // will be removed in version 0.14.0 +- ImageFormat::EPS // will be removed in version 0.15.0 Used as follows: let plot = Plot::new(); @@ -427,11 +427,11 @@ impl Plot { /// at the given location using kaleido. /// /// This function is deprecated since version 0.13.0. The kaleido-based - /// implementation will be removed in version 0.14.0. Use + /// implementation will be removed in version 0.15.0. Use /// `plotly_static` feature instead for static image export functionality. #[deprecated( since = "0.13.0", - note = "kaleido-based implementation is deprecated. Use plotly_static feature instead. The kaleido implementation will be removed in version 0.14.0" + note = "kaleido-based implementation is deprecated. Use plotly_static feature instead. The kaleido implementation will be removed in version 0.15.0" )] #[cfg(feature = "kaleido")] pub fn write_image>( @@ -460,11 +460,11 @@ impl Plot { /// [ImageFormat::PNG] and [ImageFormat::WEBP] /// /// This function is deprecated since version 0.13.0. The kaleido-based - /// implementation will be removed in version 0.14.0. Use + /// implementation will be removed in version 0.15.0. Use /// `plotly_static` feature instead for static image export functionality. #[deprecated( since = "0.13.0", - note = "kaleido-based implementation is deprecated. Use plotly_static feature instead. The kaleido implementation will be removed in version 0.14.0" + note = "kaleido-based implementation is deprecated. Use plotly_static feature instead. The kaleido implementation will be removed in version 0.15.0" )] #[cfg(feature = "kaleido")] pub fn to_base64( @@ -497,11 +497,11 @@ impl Plot { /// Convert the `Plot` to SVG and return it as a String using kaleido. /// /// This function is deprecated since version 0.13.0. The kaleido-based - /// implementation will be removed in version 0.14.0. Use + /// implementation will be removed in version 0.15.0. Use /// `plotly_static` feature instead for static image export functionality. #[deprecated( since = "0.13.0", - note = "kaleido-based implementation is deprecated. Use plotly_static feature instead. The kaleido implementation will be removed in version 0.14.0" + note = "kaleido-based implementation is deprecated. Use plotly_static feature instead. The kaleido implementation will be removed in version 0.15.0" )] #[cfg(feature = "kaleido")] pub fn to_svg(&self, width: usize, height: usize, scale: f64) -> String { diff --git a/plotly_derive/Cargo.toml b/plotly_derive/Cargo.toml index 9bc79c7c..cba1e240 100644 --- a/plotly_derive/Cargo.toml +++ b/plotly_derive/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "plotly_derive" -version = "0.14.0" +version = "0.14.1" description = "Internal proc macro crate for Plotly-rs." authors = ["Ioannis Giagkiozis "] license = "MIT" diff --git a/plotly_kaleido/src/lib.rs b/plotly_kaleido/src/lib.rs index b8c26847..6f18b114 100644 --- a/plotly_kaleido/src/lib.rs +++ b/plotly_kaleido/src/lib.rs @@ -41,11 +41,11 @@ pub enum ImageFormat { /// Encapsulated PostScript format (deprecated) /// /// This format is deprecated since version 0.13.0 and will be removed in - /// version 0.14.0. Use SVG or PDF instead for vector graphics. EPS is + /// version 0.15.0. Use SVG or PDF instead for vector graphics. EPS is /// not supported in the open source version. #[deprecated( since = "0.13.0", - note = "Use SVG or PDF instead. EPS variant will be removed in version 0.14.0" + note = "Use SVG or PDF instead. EPS variant will be removed in version 0.15.0" )] EPS, } diff --git a/plotly_static/src/lib.rs b/plotly_static/src/lib.rs index b2235896..804e19e9 100644 --- a/plotly_static/src/lib.rs +++ b/plotly_static/src/lib.rs @@ -279,7 +279,7 @@ //! //! MIT License - see LICENSE file for details. -// TODO: remove this once version 0.14.0 is out +// TODO: remove this once version 0.15.0 is out #![allow(deprecated)] use std::fs::File; use std::io::prelude::*; @@ -320,7 +320,7 @@ mod webdriver; /// # Deprecated Formats /// /// - **EPS**: Encapsulated PostScript format (deprecated since 0.13.0, will be -/// removed in 0.14.0) +/// removed in 0.15.0) /// - Use SVG or PDF instead for vector graphics /// - EPS is not supported in the open source version and in versions prior to /// 0.13.0 has been generating empty images. @@ -349,11 +349,11 @@ pub enum ImageFormat { /// Encapsulated PostScript format (deprecated) /// /// This format is deprecated since version 0.13.0 and will be removed in - /// version 0.14.0. Use SVG or PDF instead for vector graphics. EPS is + /// version 0.15.0. Use SVG or PDF instead for vector graphics. EPS is /// not supported in the open source Plotly ecosystem version. #[deprecated( since = "0.13.0", - note = "Use SVG or PDF instead. EPS variant will be removed in version 0.14.0" + note = "Use SVG or PDF instead. EPS variant will be removed in version 0.15.0" )] EPS, } @@ -838,7 +838,6 @@ impl StaticExporter { /// ImageFormat::SVG the function will generate plain SVG text, for /// other formats it will return base64-encoded data. /// - /// /// # Examples /// /// ```no_run