@@ -2,12 +2,18 @@ use std::ops::Range;
22
33use plotters_backend:: DrawingBackend ;
44
5- use crate :: coord:: { ranged1d:: { Ranged , KeyPointHint } , cartesian:: { Cartesian2d , MeshLine } , Shift } ;
65use crate :: chart:: ChartContext ;
7- use crate :: style:: { ShapeStyle , TextStyle , text_anchor:: { HPos , VPos , Pos } , FontTransform } ;
8- use crate :: drawing:: { DrawingAreaErrorKind , DrawingArea } ;
6+ use crate :: coord:: {
7+ cartesian:: { Cartesian2d , MeshLine } ,
8+ ranged1d:: { KeyPointHint , Ranged } ,
9+ Shift ,
10+ } ;
11+ use crate :: drawing:: { DrawingArea , DrawingAreaErrorKind } ;
912use crate :: element:: PathElement ;
10-
13+ use crate :: style:: {
14+ text_anchor:: { HPos , Pos , VPos } ,
15+ FontTransform , ShapeStyle , TextStyle ,
16+ } ;
1117
1218impl < ' a , DB : DrawingBackend , X : Ranged , Y : Ranged > ChartContext < ' a , DB , Cartesian2d < X , Y > > {
1319 /// The actual function that draws the mesh lines.
@@ -363,5 +369,4 @@ impl<'a, DB: DrawingBackend, X: Ranged, Y: Ranged> ChartContext<'a, DB, Cartesia
363369
364370 Ok ( ( ) )
365371 }
366-
367372}
0 commit comments