Skip to content

Commit

Permalink
Prepare for v0.17.0-alpha (#269)
Browse files Browse the repository at this point in the history
* Prepare for v0.17.0-alpha

---------

Signed-off-by: Guillaume W. Bres <guillaume.bressaix@gmail.com>
  • Loading branch information
gwbres authored Aug 27, 2024
1 parent 0116a26 commit ad7f0b3
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 13 deletions.
6 changes: 3 additions & 3 deletions rinex-qc/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ serde = { version = "1.0", default-features = false, features = ["derive"] }

statrs = { version = "0.16", optional = true }

# plotly = { version = "0.9", optional = true }
# plotly = { path = "../../plotly-rs/plotly", optional = true }
plotly = { git = "https://github.com/gwbres/plotly", branch = "scattergeo"}
plotly = "0.9"
# plotly = { path = "../../plotly-rs/plotly" }
# plotly = { git = "https://github.com/gwbres/plotly", branch = "scattergeo"}

hifitime = "4.0.0-alpha"
gnss-rs = { version = "2.2.3", features = ["serde"] }
Expand Down
26 changes: 16 additions & 10 deletions rinex-qc/src/plot.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,14 @@ use plotly::{
update_menu::UpdateMenu, Axis, Center, DragMode, Mapbox, Margin, RangeSelector,
RangeSlider, SelectorButton, SelectorStep,
},
DensityMapbox, Layout, Plot as Plotly, Scatter, Scatter3D, ScatterGeo, ScatterMapbox,
ScatterPolar, Trace,
DensityMapbox,
Layout,
Plot as Plotly,
Scatter,
Scatter3D, //ScatterGeo,
ScatterMapbox,
ScatterPolar,
Trace,
};

use serde::Serialize;
Expand Down Expand Up @@ -284,14 +290,14 @@ impl Plot {
}
})
}
/// Builds ScatterGeo
pub fn scattergeo<T: Clone + Default + Serialize>(
lat: Vec<T>,
lon: Vec<T>,
legend: &str,
) -> Box<ScatterGeo<T, T>> {
ScatterGeo::new(lat, lon).name(legend)
}
// /// Builds ScatterGeo
// pub fn scattergeo<T: Clone + Default + Serialize>(
// lat: Vec<T>,
// lon: Vec<T>,
// legend: &str,
// ) -> Box<ScatterGeo<T, T>> {
// ScatterGeo::new(lat, lon).name(legend)
// }
/// Builds new Density Mapbox trace
pub fn density_mapbox<T: Clone + Default + Serialize>(
lat: Vec<T>,
Expand Down

0 comments on commit ad7f0b3

Please sign in to comment.