Skip to content

Commit 08dbc2c

Browse files
committed
apply fmt and fix unittest
Signed-off-by: Andrei Gherghescu <[email protected]>
1 parent 2b4b20e commit 08dbc2c

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

plotly/src/layout/mod.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1488,7 +1488,6 @@ impl Geo {
14881488
}
14891489
}
14901490

1491-
14921491
#[derive(Serialize, Debug, Clone)]
14931492
/// If "cube", this scene's axes are drawn as a cube, regardless of the axes'
14941493
/// ranges. If "data", this scene's axes are drawn in proportion with the axes'

plotly/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ pub use traces::{
4040
// Bring the different trace types into the top-level scope
4141
pub use traces::{
4242
Bar, BoxPlot, Candlestick, Contour, DensityMapbox, HeatMap, Histogram, Image, Mesh3D, Ohlc,
43-
Pie, Sankey, Scatter, Scatter3D, ScatterMapbox, ScatterGeo, ScatterPolar, Surface, Table,
43+
Pie, Sankey, Scatter, Scatter3D, ScatterGeo, ScatterMapbox, ScatterPolar, Surface, Table,
4444
};
4545

4646
pub trait Restyle: serde::Serialize {}

plotly/src/traces/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ pub mod pie;
1414
pub mod sankey;
1515
pub mod scatter;
1616
pub mod scatter3d;
17-
pub mod scatter_mapbox;
1817
pub mod scatter_geo;
18+
pub mod scatter_mapbox;
1919
mod scatter_polar;
2020
pub mod surface;
2121
pub mod table;
@@ -33,8 +33,8 @@ pub use pie::Pie;
3333
pub use sankey::Sankey;
3434
pub use scatter::Scatter;
3535
pub use scatter3d::Scatter3D;
36-
pub use scatter_mapbox::ScatterMapbox;
3736
pub use scatter_geo::ScatterGeo;
37+
pub use scatter_mapbox::ScatterMapbox;
3838
pub use scatter_polar::ScatterPolar;
3939
pub use surface::Surface;
4040
pub use table::Table;

plotly/src/traces/scatter_geo.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -342,7 +342,7 @@ mod tests {
342342
.hover_label(Label::new())
343343
.ui_revision(6);
344344
let expected = json!({
345-
"type": "scattergegeo",
345+
"type": "scattergeo",
346346
"lat": [45.5017],
347347
"lon": [-73.5673],
348348
"name": "name",

0 commit comments

Comments
 (0)