lingpy / lingpy
Showing 1 of 1 files from the diff.

@@ -946,8 +946,6 @@
Loading
946 946
        vmin=0.0,
947 947
        width=0.8,
948 948
        xrotation=90,
949 -
        show_values=False,
950 -
        valuesize=8,
951 949
        distances=False
952 950
    )
953 951
    for k in defaults:
@@ -1189,29 +1187,16 @@
Loading
1189 1187
1190 1188
    if keywords["colorbar"]:
1191 1189
1192 -
        plt.imshow(
1193 -
                matrix, cmap=keywords['cmap'], visible=False,
1194 -
                vmax=keywords['vmax'], vmin=keywords["vmin"])
1190 +
        plt.imshow(matrix, cmap=keywords['cmap'], visible=False, vmax=keywords['vmax'])
1195 1191
        c = plt.colorbar(im, shrink=keywords['colorbar_shrink'])
1196 1192
        c.set_label(keywords["colorbar_label"], size=keywords['colorbar_textsize'])
1197 1193
1198 -
    if keywords["show_values"]:
1199 -
        for i, row in enumerate(matrix):
1200 -
            for j, cell in enumerate(row):
1201 -
                plt.text(
1202 -
                        i, j, 
1203 -
                        "{0}".format(int((cell*100)+0.5)), 
1204 -
                        size=keywords["valuesize"],
1205 -
                        va="center", ha="center"
1206 -
                        )
1207 -
1208 1194
    plt.subplots_adjust(
1209 1195
        left=keywords['left'],
1210 1196
        right=keywords['right'],
1211 1197
        top=keywords['top'],
1212 1198
        bottom=keywords['bottom']
1213 1199
    )
1214 -
1215 1200
    plt.savefig(filename + '.' + fileformat)
1216 1201
1217 1202
    f = open(filename + '.matrix', 'w')
Files Coverage
src/lingpy 87.60%
tests 98.86%
Project Totals (123 files) 89.27%
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading