Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docs/book/src/fundamentals/static_image_export.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
6 changes: 3 additions & 3 deletions plotly/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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 <i.giagkiozis@gmail.com>",
Expand Down Expand Up @@ -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"]


Expand Down
6 changes: 3 additions & 3 deletions plotly/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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: () = ();

Expand Down
14 changes: 7 additions & 7 deletions plotly/src/plot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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<P: AsRef<Path>>(
Expand Down Expand Up @@ -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(
Expand Down Expand Up @@ -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 {
Expand Down
2 changes: 1 addition & 1 deletion plotly_derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -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 <i.giagkiozis@gmail.com>"]
license = "MIT"
Expand Down
4 changes: 2 additions & 2 deletions plotly_kaleido/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
Expand Down
9 changes: 4 additions & 5 deletions plotly_static/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::*;
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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,
}
Expand Down Expand Up @@ -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
Expand Down
Loading