jnaiman
adding in complex plots
3b33fea
raw
history blame
12.1 kB
"{\"figure\": {\"dpi\": 469, \"base\": 5, \"aspect ratio\": 1.7872812332163028, \"nrows\": 1, \"ncols\": 1, \"plot style\": \"default\", \"color map\": \"gist_gray\", \"title fontsize\": 15, \"xlabel fontsize\": 19, \"ylabel fontsize\": 19, \"plot indexes\": [[0, 0]]}, \"plot0\": {\"type\": \"histogram\", \"distribution\": \"gmm\", \"data\": {\"xs\": [-13.332584066353078, -237.74453088451727, -299.12717704938086, -339.4255817038338, -20.519559851120892, 124.47127020460319, -247.53277338270544, -353.86040543155883, 271.8132100574054, -426.17493849335375, 175.3454968988317, -433.95737669882004, -382.5786667504931, 240.420473661789, 155.6543828297054, -43.79469348578974, -304.2193196607509, 90.98404306288113, -31.64366201900733, -110.68250804929033, -87.79698320204362, 39.85764074673246, 237.47482517125096, 223.8991711489469, 64.0663610810348], \"ys\": [], \"xerrs\": [0.14510152214847333, 0.24211106612161007, 0.17429525874457466, 0.0, 0.03609087632780102, 0.393518843504955, 0.06861322583678042, 0.24244028483808616, 0.09080461597503155, 0.23874387340763534], \"data params\": {\"nsamples\": 46, \"nclusters\": 2, \"centers\": [[-15.677088068446784], [-68.83922278017437]], \"cluster_std\": [218.8504394621536, 1219.7434135631897], \"noise level\": 0.06724995929516464}}, \"data pixels\": {\"xs\": [491.90302921721945, 607.6687532283562, 723.4344772394929, 839.2002012506298, 954.9659252617665, 1070.7316492729033, 1186.4973732840401, 1302.2630972951767, 1418.0288213063136, 1533.7945453174505], \"ys\": [254.86372359340442, 140.48589071713184, 369.241556469677, 597.9972222222223, 369.241556469677, 140.48589071713184, 483.6193893459496, 254.86372359340442, 369.241556469677, 140.48589071713184], \"xs_right\": [510.2945525212468, 626.0602765323836, 741.8260005435204, 857.5917245546572, 973.3574485657939, 1089.1231725769308, 1204.8888965880674, 1320.6546205992042, 1436.420344610341, 1552.1860686214777], \"ys_right\": [254.86372359340442, 140.48589071713184, 369.241556469677, 597.9972222222223, 369.241556469677, 140.48589071713184, 483.6193893459496, 254.86372359340442, 369.241556469677, 140.48589071713184], \"xs_left\": [473.5115059131921, 589.2772299243288, 705.0429539354656, 820.8086779466023, 936.5744019577392, 1052.3401259688758, 1168.1058499800126, 1283.8715739911495, 1399.6372980022861, 1515.403022013423], \"ys_left\": [254.86372359340442, 140.48589071713184, 369.241556469677, 597.9972222222223, 369.241556469677, 140.48589071713184, 483.6193893459496, 254.86372359340442, 369.241556469677, 140.48589071713184], \"colors\": [[0.5843137254901961, 0.19607843137254902, 0.42745098039215684, 1.0], [0.5843137254901961, 0.19607843137254902, 0.42745098039215684, 1.0], [0.5843137254901961, 0.19607843137254902, 0.42745098039215684, 1.0], [0.5843137254901961, 0.19607843137254902, 0.42745098039215684, 1.0], [0.5843137254901961, 0.19607843137254902, 0.42745098039215684, 1.0], [0.5843137254901961, 0.19607843137254902, 0.42745098039215684, 1.0], [0.5843137254901961, 0.19607843137254902, 0.42745098039215684, 1.0], [0.5843137254901961, 0.19607843137254902, 0.42745098039215684, 1.0], [0.5843137254901961, 0.19607843137254902, 0.42745098039215684, 1.0], [0.5843137254901961, 0.19607843137254902, 0.42745098039215684, 1.0]], \"x error bars\": [[491.90302921721945, 666.5398787562046, 491.90302921721945, 699.7326740569864], [607.6687532283562, 769.8219702245144, 607.6687532283562, 825.2062483412219], [723.4344772394929, 548.8229295545093, 723.4344772394929, 588.6939575061366], [839.2002012506298, 340.0027777777778, 839.2002012506298, 340.0027777777778], [954.9659252617665, 564.6304473093435, 954.9659252617665, 572.8864397513024], [1070.7316492729033, 752.5042767667944, 1070.7316492729033, 842.5239417989419], [1186.4973732840401, 446.5327785761892, 1186.4973732840401, 462.2284427319116], [1302.2630972951767, 655.406482024909, 1302.2630972951767, 710.8660707882821], [1418.0288213063136, 558.3724083399367, 1418.0288213063136, 579.1444787207092], [1533.7945453174505, 770.2071024300157, 1533.7945453174505, 824.8211161357207]]}, \"data from plot\": {\"data\": [[3.0, 4.0, 2.0, 0.0, 2.0, 4.0, 1.0, 3.0, 2.0, 4.0], [-433.95737669882004, -363.3803180231975, -292.80325934757496, -222.22620067195243, -151.6491419963299, -81.07208332070735, -10.495024645084811, 60.08203403053773, 130.65909270616027, 201.2361513817828, 271.8132100574054], [\"non serializable entry\", \"non serializable entry\", \"non serializable entry\", \"non serializable entry\", \"non serializable entry\", \"non serializable entry\", \"non serializable entry\", \"non serializable entry\", \"non serializable entry\", \"non serializable entry\"]], \"plot params\": {\"linethick\": 4, \"linestyles\": \"-\", \"bar color\": [0.5843137254901961, 0.19607843137254902, 0.42745098039215684, 1.0], \"edge color\": [[0.2549019607843137, 0.011764705882352941, 0.7725490196078432, 1.0]], \"orientation\": \"vertical\", \"rwidth\": 0.3177369374420036, \"nbins\": 10, \"elinewidth\": 1}, \"x error bars\": [[\"non serializable entry\"]]}, \"xticks\": [{\"data\": \"\\u2212600\", \"xmin\": 58.1647465711352, \"ymin\": 211.40555555555557, \"xmax\": 265.1647465711352, \"ymax\": 294.40555555555557, \"tx\": 161.6647465711352, \"ty\": 340.0027777777778}, {\"data\": \"\\u2212400\", \"xmin\": 386.21957397108315, \"ymin\": 211.40555555555557, \"xmax\": 593.2195739710832, \"ymax\": 294.40555555555557, \"tx\": 489.71957397108315, \"ty\": 340.0027777777778}, {\"data\": \"\\u2212200\", \"xmin\": 714.2744013710312, \"ymin\": 211.40555555555557, \"xmax\": 921.2744013710312, \"ymax\": 294.40555555555557, \"tx\": 817.7744013710312, \"ty\": 340.0027777777778}, {\"data\": \"0\", \"xmin\": 1120.4542287709792, \"ymin\": 211.40555555555557, \"xmax\": 1171.2042287709792, \"ymax\": 294.40555555555557, \"tx\": 1145.8292287709792, \"ty\": 340.0027777777778}, {\"data\": \"200\", \"xmin\": 1397.7590561709271, \"ymin\": 211.40555555555557, \"xmax\": 1550.0090561709271, \"ymax\": 294.40555555555557, \"tx\": 1473.8840561709271, \"ty\": 340.0027777777778}, {\"data\": \"400\", \"xmin\": 1725.813883570875, \"ymin\": 211.40555555555557, \"xmax\": 1878.063883570875, \"ymax\": 294.40555555555557, \"tx\": 1801.938883570875, \"ty\": 340.0027777777778}], \"yticks\": [{\"data\": \"0.0\", \"xmin\": 247.1055555555555, \"ymin\": 289.5027777777778, \"xmax\": 373.9805555555555, \"ymax\": 372.5027777777778, \"tx\": 419.5777777777777, \"ty\": 340.0027777777778}, {\"data\": \"2.5\", \"xmin\": 247.1055555555555, \"ymin\": 575.4473599684593, \"xmax\": 373.9805555555555, \"ymax\": 658.4473599684593, \"tx\": 419.5777777777777, \"ty\": 625.9473599684593}, {\"data\": \"5.0\", \"xmin\": 247.1055555555555, \"ymin\": 861.3919421591409, \"xmax\": 373.9805555555555, \"ymax\": 944.3919421591409, \"tx\": 419.5777777777777, \"ty\": 911.8919421591409}], \"square\": {\"xmin\": 419.4601995907771, \"ymin\": 340.0027777777778, \"xmax\": 1605.669714164795, \"ymax\": 867.6500000000001}, \"title\": {\"xmin\": 1012.848787267335, \"ymin\": 906.7333333333335, \"xmax\": 1012.848787267335, \"ymax\": 906.7333333333335, \"words\": \"\"}, \"xlabel\": {\"xmin\": 525.786287267335, \"ymin\": 70.35000000000002, \"xmax\": 1499.911287267335, \"ymax\": 185.35000000000002, \"words\": \"Injection Property\"}, \"ylabel\": {\"xmin\": 70.34999999999994, \"ymin\": 463.8336564466689, \"xmax\": 221.04999999999998, \"ymax\": 743.8191213311089, \"words\": \"$\\\\sigma_{\\\\rm NT}^{\\\\rm HCN}$ \"}}, \"VQA\": {\"Level 1\": {\"Figure-level questions\": {}, \"Plot-level questions\": {\"nbars\": {\"plot0\": {\"Q\": \"You are a helpful assistant that can analyze images. How many bars are there in the specified figure panel? Please format the output as a json as {\\\"nbars\\\":\\\"\\\"} for this figure panel, where the \\\"nbars\\\" value should be an integer.\", \"A\": {\"nbars\": 10}, \"persona\": \"You are a helpful assistant that can analyze images.\", \"context\": \"\", \"question\": \"How many bars are there in the specified figure panel?\", \"format\": \"Please format the output as a json as {\\\"nbars\\\":\\\"\\\"} for this figure panel, where the \\\"nbars\\\" value should be an integer.\"}}}}, \"Level 2\": {\"Plot-level questions\": {\"minimum\": {\"plot0\": {\"Q\": \"You are a helpful assistant that can analyze images. What is the minimum value of the data in this figure panel? Please format the output as a json as {\\\"minimum x\\\":\\\"\\\"} for this figure panel, where the \\\"minimum x\\\" value should be a float, calculated from the data values used to create the plot.\", \"A\": {\"minimum\": {\"minimum x\": -433.95737669882004}}, \"persona\": \"You are a helpful assistant that can analyze images.\", \"context\": \"\", \"question\": \"What is the minimum value of the data in this figure panel? \", \"format\": \"Please format the output as a json as {\\\"minimum x\\\":\\\"\\\"} for this figure panel, where the \\\"minimum x\\\" value should be a float, calculated from the data values used to create the plot.\"}}, \"maximum\": {\"plot0\": {\"Q\": \"You are a helpful assistant that can analyze images. What is the maximum value of the data in this figure panel? Please format the output as a json as {\\\"maximum x\\\":\\\"\\\"} for this figure panel, where the \\\"maximum x\\\" value should be a float, calculated from the data values used to create the plot.\", \"A\": {\"maximum\": {\"maximum x\": 271.8132100574054}}, \"persona\": \"You are a helpful assistant that can analyze images.\", \"context\": \"\", \"question\": \"What is the maximum value of the data in this figure panel? \", \"format\": \"Please format the output as a json as {\\\"maximum x\\\":\\\"\\\"} for this figure panel, where the \\\"maximum x\\\" value should be a float, calculated from the data values used to create the plot.\"}}, \"median\": {\"plot0\": {\"Q\": \"You are a helpful assistant that can analyze images. What is the median value of the data in this figure panel? Please format the output as a json as {\\\"median x\\\":\\\"\\\"} for this figure panel, where the \\\"median x\\\" value should be a float, calculated from the data values used to create the plot.\", \"A\": {\"median\": {\"median x\": -31.64366201900733}}, \"persona\": \"You are a helpful assistant that can analyze images.\", \"context\": \"\", \"question\": \"What is the median value of the data in this figure panel? \", \"format\": \"Please format the output as a json as {\\\"median x\\\":\\\"\\\"} for this figure panel, where the \\\"median x\\\" value should be a float, calculated from the data values used to create the plot.\"}}, \"mean\": {\"plot0\": {\"Q\": \"You are a helpful assistant that can analyze images. What is the mean value of the data in this figure panel? Please format the output as a json as {\\\"mean x\\\":\\\"\\\"} for this figure panel, where the \\\"mean x\\\" value should be a float, calculated from the data values used to create the plot.\", \"A\": {\"mean\": {\"mean x\": -68.33615543463353}}, \"persona\": \"You are a helpful assistant that can analyze images.\", \"context\": \"\", \"question\": \"What is the mean value of the data in this figure panel? \", \"format\": \"Please format the output as a json as {\\\"mean x\\\":\\\"\\\"} for this figure panel, where the \\\"mean x\\\" value should be a float, calculated from the data values used to create the plot.\"}}}}, \"Level 3\": {\"Plot-level questions\": {\"ngaussians\": {\"plot0\": {\"Q\": \"You are a helpful assistant that can analyze images. How many gaussians were used to generate the data for the plot in the figure panel? Please format the output as a json as {\\\"ngaussians\\\":\\\"\\\"} for this figure panel, where the \\\"ngaussians\\\" value should be an integer.\", \"A\": {\"ngaussians\": 2}, \"persona\": \"You are a helpful assistant that can analyze images.\", \"context\": \"\", \"question\": \"How many gaussians were used to generate the data for the plot in the figure panel?\", \"format\": \"Please format the output as a json as {\\\"ngaussians\\\":\\\"\\\"} for this figure panel, where the \\\"ngaussians\\\" value should be an integer.\"}}}}}}"