@@ -3,19 +3,19 @@ begin # hide
33 using GMT # hide
44 GMT. isFranklin[1 ] = true # hide
55 getpath4docs (file:: String ) = joinpath (" .." , " .." , " .." , " .." , " .." , file) # hide
6- using GMT # Hide
7- D = gmtread (" /vsizip//vsicurl/https://www2.census.gov/geo/tiger/GENZ2024/shp/cb_2024_us_state_500k.zip" ); # Hide
8-
9- Df = filter (D, _region= (- 125 ,- 66 ,24 ,50 ), _unique= true ); # Keep only the largest polygon per state
10-
11- pop = gmtread (TESTSDIR * " assets/uspop.csv" );
12- zvals = polygonlevels (Df, pop, att= " NAME" ) / 1e6 ;
13- C = makecpt (zvals, auto= :r , reverse = true , cmap= :bamako );
14-
15- bubblechart (Df, labels= " attrib=STUSPS" , proj= :guess , zcolor= zvals,
6+ using GMT # Hide
7+ D = gmtread (" /vsizip//vsicurl/https://www2.census.gov/geo/tiger/GENZ2024/shp/cb_2024_us_state_500k.zip" ); # Hide
8+
9+ Df = filter (D, _region= (- 125 ,- 66 ,24 ,50 ), _unique= true ); # Keep only the largest polygon per state
10+
11+ pop = gmtread (TESTSDIR * " assets/uspop.csv" );
12+ zvals = polygonlevels (Df, pop, att= " NAME" ) / 1e6 ;
13+ C = makecpt (zvals, auto= :r , reverse = true , cmap= :bamako );
14+
15+ bubblechart (Df, labels= " attrib=STUSPS" , proj= :guess , zcolor= zvals,
1616 cmap= C, colorbar= true , show= true )
1717 end # hide
18- mv (joinpath (tempdir (), " GMTjl_" * GMT. TMPDIR_USR[2 ] * " ." * " png" ), joinpath (@OUTPUT , " example_9720144734230891732 .png" ), force= true ); # hide
18+ mv (joinpath (tempdir (), " GMTjl_" * GMT. TMPDIR_USR[2 ] * " ." * " png" ), joinpath (@OUTPUT , " example_3457114486642325480 .png" ), force= true ); # hide
1919 GMT. isFranklin[1 ] = false # hide
2020 GMT. IamModern[1 ] = false # hide
2121
0 commit comments