From cd2dd94ff26b8a52b8566a8d769d37744695ba2c Mon Sep 17 00:00:00 2001 From: gecko984 Date: Sun, 6 Sep 2020 00:13:17 +0300 Subject: [PATCH] smaller images --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index f68bd1d..f135e88 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ from supervenn import supervenn sets = [{1, 2, 3, 4}, {3, 4, 5}, {1, 6, 7, 8}] supervenn(sets, side_plots=False) ``` - + Each row repesents a set, the order from bottom to top is the same as in the `sets` list. Overlapping parts correspond to set intersections. @@ -43,14 +43,14 @@ array plotted) to minimize the number of parts the sets are broken into. In the supervenn([{1, 2}, {2, 3}, {1, 3}], side_plots=False) ``` - + By default, additional *side plots* are also displayed: ```python supervenn(sets) ``` - + Here, the numbers on the right are the set sizes (cardinalities), and numbers on the top show how many sets does this intersection make part of. The grey bars represent the same numbers visually. @@ -63,7 +63,7 @@ sets = [{1, 2, 3, 4}, {3, 4, 5}, {1, 6, 7, 8}] labels = ['alice', 'bob', 'third party'] supervenn(sets, labels) ``` - + #### Change size and dpi of the plot Create a new figure and plot into it: @@ -177,7 +177,7 @@ import matplotlib.pyplot as plt with plt.style.context('bmh'): supervenn([{1,2,3}, {3,4}]) ``` - + #### Change side plots size and color