Skip to content

Commit

Permalink
Prepare for v0.17.0-alpha
Browse files Browse the repository at this point in the history
Signed-off-by: Guillaume W. Bres <[email protected]>
  • Loading branch information
gwbres committed Aug 27, 2024
1 parent 0116a26 commit e044093
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 11 deletions.
4 changes: 2 additions & 2 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 = { version = "0.9", optional = true }
# plotly = { path = "../../plotly-rs/plotly", optional = true }
plotly = { git = "https://github.com/gwbres/plotly", branch = "scattergeo"}
# plotly = { git = "https://github.com/gwbres/plotly", branch = "scattergeo"}

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

Expand Down Expand Up @@ -284,14 +285,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 e044093

Please sign in to comment.