remove unused bg_color parameter to plot_dot_map
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Wed, 17 Mar 2021 00:50:12 +0000 (17:50 -0700)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Mon, 29 Mar 2021 02:04:22 +0000 (19:04 -0700)
cmd/gvmap/gvmap.c
cmd/gvmap/make_map.c
cmd/gvmap/make_map.h

index e4727275b48c2f9663e2a4006bcbbcba47b4ce02..1786243ffda191a082e4cce9757c4f6c7062523c 100644 (file)
@@ -484,7 +484,7 @@ makeMap (SparseMatrix graph, int n, real* x, real* width, int* grouping,
 
     Dot_SetClusterColor(g, rgb_r,  rgb_g,  rgb_b, grouping);
     plot_dot_map(g, n, dim, x, polys, poly_lines, pm->line_width, pm->line_color, x_poly, polys_groups, labels, fsz, rgb_r, rgb_g, rgb_b, pm->opacity,
-           pm->bg_color, (pm->plotedges?graph:NULL), pm->outfile);
+           (pm->plotedges?graph:NULL), pm->outfile);
   SparseMatrix_delete(polys);
   SparseMatrix_delete(poly_lines);
   SparseMatrix_delete(poly_point_map);
index 84364e008c788e7cb8a2386b24105b026beb53d1..05f0810c65a913c8b81d501677b43401d3184ef3 100644 (file)
@@ -418,7 +418,7 @@ static void plot_dot_polygons(char **sbuff, int *len, int *len_max, real line_wi
 }
 
 void plot_dot_map(Agraph_t* gr, int n, int dim, real *x, SparseMatrix polys, SparseMatrix poly_lines, real line_width, char *line_color, real *x_poly, int *polys_groups, char **labels,
-                 float *fsz, float *r, float *g, float *b, char* opacity, real *bg_color, SparseMatrix A, FILE* f){
+                 float *fsz, float *r, float *g, float *b, char* opacity, SparseMatrix A, FILE* f){
   /* if graph object exist, we just modify some attributes, otherwise we dump the whole graph */
   int plot_polyQ = TRUE;
   char *sbuff;
index c6ff9680bffdfa999574b37c67884120868510ed..a67af81ce1005e5df696cad10a9adea1dd832cb1 100644 (file)
@@ -34,7 +34,7 @@ void plot_points(int n, int dim, real *x);
 void plot_edges(int n, int dim, real *x, SparseMatrix A);
 void plot_labels(int n, int dim, real *x, char **labels);
 
-void plot_dot_map(Agraph_t* gr, int n, int dim, real *x, SparseMatrix polys, SparseMatrix poly_lines, real line_width, char *line_color, real *x_poly, int *polys_groups, char **labels, float *fsz, float *r, float *g, float *b, char* opacity, real *bg_color, SparseMatrix A, FILE*);
+void plot_dot_map(Agraph_t* gr, int n, int dim, real *x, SparseMatrix polys, SparseMatrix poly_lines, real line_width, char *line_color, real *x_poly, int *polys_groups, char **labels, float *fsz, float *r, float *g, float *b, char* opacity, SparseMatrix A, FILE*);
 
 void map_optimal_coloring(int seed, SparseMatrix A, float *rgb_r,  float *rgb_g, float *rgb_b);
 void map_palette_optimal_coloring(char *color_scheme, char *lightness, SparseMatrix A, real accuracy, int seed, float **rgb_r, float **rgb_g, float **rgb_b);