d617d076b4722c4be8de6036cc31e35ef3972ae8,django/comicsite/templatetags/comic_templatetags.py,,render_anode09_result,#Any#,1180
Before Change
canvas = FigureCanvas(fig)
fig.gca().plot(variables["x"], variables["smally"], label="nodules < 5mm", gid="small")
fig.gca().plot(variables["x"], variables["largey"], label="nodules > 5mm", gid="large")
fig.gca().plot(variables["x"], variables["isolatedy"], label="isolated nodules", gid="isolated")
fig.gca().plot(variables["x"], variables["vasculary"], label="vascular nodules", gid="vascular")
fig.gca().plot(variables["x"], variables["pleuraly"], label="pleural nodules", gid="pleural")
After Change
fig = Figure(facecolor="white")
canvas = FigureCanvas(fig)
classes = {
"small": "nodules < 5mm",
"large": "nodules > 5mm",
"isolated": "isolated nodules",
"vascular": "vascular nodules",
"pleural": "pleural nodules",
"fissure": "peri-fissural nodules",
"froc": "all nodules"
}
for key, label in classes.items():
fig.gca().plot(variables["x"], variables[key + "y"], label=label, gid=key)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 2
Instances
Project Name: comic/grand-challenge.org
Commit Name: d617d076b4722c4be8de6036cc31e35ef3972ae8
Time: 2017-06-14
Author: jamesmeakin@gmail.com
File Name: django/comicsite/templatetags/comic_templatetags.py
Class Name:
Method Name: render_anode09_result
Project Name: matplotlib/matplotlib
Commit Name: 07aa92b15195381e9c3ee07f62ba7602caa5a46f
Time: 2021-01-25
Author: ianthomas23@gmail.com
File Name: examples/event_handling/trifinder_event_demo.py
Class Name:
Method Name:
Project Name: matplotlib/matplotlib
Commit Name: 24d6b64122b9bbfe08e6410b089f2029c1ed474d
Time: 2020-02-19
Author: mbussonnier@ucmerced.edu
File Name: examples/mplot3d/surface3d.py
Class Name:
Method Name: