From ac0b552c2833d5bcf5ad9e64ff3e5abc5eeefc95 Mon Sep 17 00:00:00 2001 From: Guangyang Li Date: Mon, 14 Oct 2019 22:48:07 -0700 Subject: [PATCH] update README --- README.md | 4 +- .../docs/adjust_figure_change_background.svg | 102 ++-- examples/docs/adjust_figure_location.svg | 102 ++-- examples/docs/basic_dict_values.svg | 102 ++-- examples/docs/basic_list_values.svg | 102 ++-- examples/docs/block_colors.svg | 102 ++-- .../docs/block_colors_custom_cmap_name.svg | 102 ++-- examples/docs/block_direction.svg | 102 ++-- examples/docs/block_distance.svg | 102 ++-- examples/docs/block_location.svg | 102 ++-- examples/docs/block_shape.svg | 102 ++-- examples/docs/title_label_ledend.svg | 102 ++-- ...caling_and_auto_columns_ignore_columns.svg | 196 +++---- ...scaling_and_auto_columns_rounding_rule.svg | 98 ++-- examples/generate_plots.py | 2 +- examples/readme/absolute_block_numbers.svg | 196 +++---- examples/readme/basic.svg | 108 ++-- examples/readme/multiple_plots.svg | 506 +++++++++--------- examples/readme/title_and_legend.svg | 196 +++---- 19 files changed, 1214 insertions(+), 1214 deletions(-) diff --git a/README.md b/README.md index 9a2d6b3..8ef276d 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ fig = plt.figure( FigureClass=Waffle, rows=5, columns=10, - values=[48, 46, 3], + values=[48, 46, 6], figsize=(5, 3) # figsize is a parameter of matplotlib.pyplot.figure ) plt.show() @@ -47,7 +47,7 @@ plt.show() ![basic](examples/readme/basic.svg) -Note that the values are scaled to 24, 23 and 1 to fit 5 * 10 chart size. +Note that the values are scaled to 25, 24 and 1 to fit 5 * 10 chart size. ### 2. Values in dict & Auto-columns diff --git a/examples/docs/adjust_figure_change_background.svg b/examples/docs/adjust_figure_change_background.svg index e3ba586..adc76e2 100644 --- a/examples/docs/adjust_figure_change_background.svg +++ b/examples/docs/adjust_figure_change_background.svg @@ -19,7 +19,7 @@ z - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + diff --git a/examples/docs/adjust_figure_location.svg b/examples/docs/adjust_figure_location.svg index 799a681..08cb577 100644 --- a/examples/docs/adjust_figure_location.svg +++ b/examples/docs/adjust_figure_location.svg @@ -19,7 +19,7 @@ z - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + diff --git a/examples/docs/basic_dict_values.svg b/examples/docs/basic_dict_values.svg index e7bd255..b14e392 100644 --- a/examples/docs/basic_dict_values.svg +++ b/examples/docs/basic_dict_values.svg @@ -19,7 +19,7 @@ z - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + diff --git a/examples/docs/basic_list_values.svg b/examples/docs/basic_list_values.svg index ac6b89c..e8b5386 100644 --- a/examples/docs/basic_list_values.svg +++ b/examples/docs/basic_list_values.svg @@ -19,7 +19,7 @@ z - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + diff --git a/examples/docs/block_colors.svg b/examples/docs/block_colors.svg index 4c52341..d728a30 100644 --- a/examples/docs/block_colors.svg +++ b/examples/docs/block_colors.svg @@ -19,7 +19,7 @@ z - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + diff --git a/examples/docs/block_colors_custom_cmap_name.svg b/examples/docs/block_colors_custom_cmap_name.svg index 0c5eba9..86e4ec3 100644 --- a/examples/docs/block_colors_custom_cmap_name.svg +++ b/examples/docs/block_colors_custom_cmap_name.svg @@ -19,7 +19,7 @@ z - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + diff --git a/examples/docs/block_direction.svg b/examples/docs/block_direction.svg index 20ccd11..e4223c3 100644 --- a/examples/docs/block_direction.svg +++ b/examples/docs/block_direction.svg @@ -19,7 +19,7 @@ z - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + diff --git a/examples/docs/block_distance.svg b/examples/docs/block_distance.svg index b39e78d..5c3dcc1 100644 --- a/examples/docs/block_distance.svg +++ b/examples/docs/block_distance.svg @@ -19,7 +19,7 @@ z - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + diff --git a/examples/docs/block_location.svg b/examples/docs/block_location.svg index 10e5f79..e7ed926 100644 --- a/examples/docs/block_location.svg +++ b/examples/docs/block_location.svg @@ -19,7 +19,7 @@ z - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + diff --git a/examples/docs/block_shape.svg b/examples/docs/block_shape.svg index 54a04f0..7994b89 100644 --- a/examples/docs/block_shape.svg +++ b/examples/docs/block_shape.svg @@ -19,7 +19,7 @@ z - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + diff --git a/examples/docs/title_label_ledend.svg b/examples/docs/title_label_ledend.svg index 8b69a67..bb7c8e2 100644 --- a/examples/docs/title_label_ledend.svg +++ b/examples/docs/title_label_ledend.svg @@ -19,7 +19,7 @@ z - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + diff --git a/examples/docs/value_scaling_and_auto_columns_ignore_columns.svg b/examples/docs/value_scaling_and_auto_columns_ignore_columns.svg index 4727b4e..346c59c 100644 --- a/examples/docs/value_scaling_and_auto_columns_ignore_columns.svg +++ b/examples/docs/value_scaling_and_auto_columns_ignore_columns.svg @@ -19,7 +19,7 @@ z - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + diff --git a/examples/docs/value_scaling_and_auto_columns_rounding_rule.svg b/examples/docs/value_scaling_and_auto_columns_rounding_rule.svg index 8c3ffa7..c1d76ea 100644 --- a/examples/docs/value_scaling_and_auto_columns_rounding_rule.svg +++ b/examples/docs/value_scaling_and_auto_columns_rounding_rule.svg @@ -19,7 +19,7 @@ z - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + diff --git a/examples/generate_plots.py b/examples/generate_plots.py index 3b6dff5..2f0956c 100644 --- a/examples/generate_plots.py +++ b/examples/generate_plots.py @@ -10,7 +10,7 @@ readme_image_folder = 'examples/readme/' # Basic -fig = plt.figure(FigureClass=Waffle, rows=5, columns=10, values=[48, 46, 3], figsize=(5, 3)) +fig = plt.figure(FigureClass=Waffle, rows=5, columns=10, values=[48, 46, 6], figsize=(5, 3)) fig.savefig(readme_image_folder + 'basic.svg', bbox_inches='tight') plt.close(fig) diff --git a/examples/readme/absolute_block_numbers.svg b/examples/readme/absolute_block_numbers.svg index b4694fe..0cfb9f4 100644 --- a/examples/readme/absolute_block_numbers.svg +++ b/examples/readme/absolute_block_numbers.svg @@ -19,7 +19,7 @@ z - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + diff --git a/examples/readme/basic.svg b/examples/readme/basic.svg index af27382..0f5330d 100644 --- a/examples/readme/basic.svg +++ b/examples/readme/basic.svg @@ -19,7 +19,7 @@ z - - - - - - - - - - - - - - - - - - - - - - - - - +" style="fill:#fc8d62;stroke:#fc8d62;stroke-linejoin:miter;"/> - - - - - - - - - - - - - - - - - - - - - - - +" style="fill:#8da0cb;stroke:#8da0cb;stroke-linejoin:miter;"/> - +" style="fill:#8da0cb;stroke:#8da0cb;stroke-linejoin:miter;"/> - + diff --git a/examples/readme/multiple_plots.svg b/examples/readme/multiple_plots.svg index 571c52f..d5ae558 100644 --- a/examples/readme/multiple_plots.svg +++ b/examples/readme/multiple_plots.svg @@ -19,7 +19,7 @@ z - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - + - + diff --git a/examples/readme/title_and_legend.svg b/examples/readme/title_and_legend.svg index 415a958..0ee768e 100644 --- a/examples/readme/title_and_legend.svg +++ b/examples/readme/title_and_legend.svg @@ -19,7 +19,7 @@ z - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +