jnaiman
adding in complex plots
3b33fea
raw
history blame
18.4 kB
"{\"figure\": {\"dpi\": 295, \"base\": 5, \"aspect ratio\": 0.7704066647963177, \"nrows\": 1, \"ncols\": 1, \"plot style\": \"default\", \"color map\": \"RdPu\", \"title fontsize\": 13, \"xlabel fontsize\": 10, \"ylabel fontsize\": 10, \"plot indexes\": [[0, 0]]}, \"plot0\": {\"type\": \"histogram\", \"distribution\": \"gmm\", \"data\": {\"xs\": [-222373.59405386206, 89190.89560092529, -590885.9592457394, -308309.8567264969, -527787.4331422289, -29372.818822624227, -729437.5707975095, -681184.9244288242, 35104.976695415426, -25191.591108751876, -244436.38922290585], \"ys\": [], \"xerrs\": [0.08882378989620535, 0.05524846267612468, 0.0, 0.0, 0.0, 0.013035366004954732, 0.0, 0.0661116802172862, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.02543614302126268, 0.0, 0.0, 0.01945214697520366, 0.06434287722869673, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.023285877797417573, 0.0, 0.06861685358425453, 0.0, 0.0608417761023516], \"data params\": {\"nsamples\": 42, \"nclusters\": 3, \"centers\": [[-37462.239301858666], [-203037.07094473983], [-393838.84781567036]], \"cluster_std\": [7769289.470053769, 219259.26227308676, 9935260.84188524], \"noise level\": 0.19868270352724027}}, \"data pixels\": {\"xs\": [171.58333292167885, 179.110589949376, 186.63784697707314, 194.16510400477028, 201.6923610324674, 209.21961806016458, 216.7468750878617, 224.2741321155588, 231.80138914325596, 239.3286461709531, 246.85590319865025, 254.3831602263474, 261.91041725404455, 269.4376742817417, 276.9649313094388, 284.49218833713593, 292.0194453648331, 299.5467023925302, 307.07395942022737, 314.60121644792446, 322.1284734756216, 329.65573050331875, 337.1829875310159, 344.71024455871304, 352.2375015864102, 359.76475861410734, 367.2920156418045, 374.81927266950163, 382.3465296971987, 389.87378672489587, 397.401043752593], \"ys\": [236.82186452841194, 236.82186452841194, 408.0805555555556, 408.0805555555556, 408.0805555555556, 236.82186452841194, 408.0805555555556, 236.82186452841194, 408.0805555555556, 408.0805555555556, 408.0805555555556, 408.0805555555556, 408.0805555555556, 408.0805555555556, 408.0805555555556, 236.82186452841194, 408.0805555555556, 408.0805555555556, 236.82186452841194, 236.82186452841194, 408.0805555555556, 408.0805555555556, 408.0805555555556, 408.0805555555556, 408.0805555555556, 408.0805555555556, 65.56317350126824, 408.0805555555556, 236.82186452841194, 408.0805555555556, 236.82186452841194], \"xs_right\": [173.03606286321406, 180.5633198909112, 188.09057691860835, 195.61783394630547, 203.14509097400258, 210.6723480016998, 218.1996050293969, 225.72686205709402, 233.25411908479117, 240.7813761124883, 248.30863314018546, 255.83589016788258, 263.3631471955797, 270.89040422327685, 278.417661250974, 285.94491827867114, 293.4721753063683, 300.99943233406543, 308.5266893617626, 316.05394638945967, 323.5812034171568, 331.10846044485396, 338.6357174725511, 346.16297450024825, 353.6902315279454, 361.21748855564255, 368.7447455833397, 376.2720026110368, 383.79925963873393, 391.3265166664311, 398.8537736941282], \"ys_right\": [236.82186452841194, 236.82186452841194, 408.0805555555556, 408.0805555555556, 408.0805555555556, 236.82186452841194, 408.0805555555556, 236.82186452841194, 408.0805555555556, 408.0805555555556, 408.0805555555556, 408.0805555555556, 408.0805555555556, 408.0805555555556, 408.0805555555556, 236.82186452841194, 408.0805555555556, 408.0805555555556, 236.82186452841194, 236.82186452841194, 408.0805555555556, 408.0805555555556, 408.0805555555556, 408.0805555555556, 408.0805555555556, 408.0805555555556, 65.56317350126824, 408.0805555555556, 236.82186452841194, 408.0805555555556, 236.82186452841194], \"xs_left\": [170.13060298014364, 177.6578600078408, 185.18511703553796, 192.71237406323507, 200.2396310909322, 207.76688811862937, 215.2941451463265, 222.82140217402363, 230.34865920172078, 237.8759162294179, 245.40317325711504, 252.9304302848122, 260.45768731250934, 267.9849443402065, 275.5122013679036, 283.0394583956007, 290.56671542329786, 298.093972450995, 305.62122947869216, 313.1484865063893, 320.67574353408645, 328.2030005617836, 335.7302575894807, 343.2575146171779, 350.784771644875, 358.3120286725721, 365.8392857002693, 373.3665427279664, 380.89379975566357, 388.42105678336065, 395.9483138110578], \"ys_left\": [236.82186452841194, 236.82186452841194, 408.0805555555556, 408.0805555555556, 408.0805555555556, 236.82186452841194, 408.0805555555556, 236.82186452841194, 408.0805555555556, 408.0805555555556, 408.0805555555556, 408.0805555555556, 408.0805555555556, 408.0805555555556, 408.0805555555556, 236.82186452841194, 408.0805555555556, 408.0805555555556, 236.82186452841194, 236.82186452841194, 408.0805555555556, 408.0805555555556, 408.0805555555556, 408.0805555555556, 408.0805555555556, 408.0805555555556, 65.56317350126824, 408.0805555555556, 236.82186452841194, 408.0805555555556, 236.82186452841194], \"colors\": [[0.4196078431372549, 0.5568627450980392, 0.3843137254901961, 1.0], [0.4196078431372549, 0.5568627450980392, 0.3843137254901961, 1.0], [0.4196078431372549, 0.5568627450980392, 0.3843137254901961, 1.0], [0.4196078431372549, 0.5568627450980392, 0.3843137254901961, 1.0], [0.4196078431372549, 0.5568627450980392, 0.3843137254901961, 1.0], [0.4196078431372549, 0.5568627450980392, 0.3843137254901961, 1.0], [0.4196078431372549, 0.5568627450980392, 0.3843137254901961, 1.0], [0.4196078431372549, 0.5568627450980392, 0.3843137254901961, 1.0], [0.4196078431372549, 0.5568627450980392, 0.3843137254901961, 1.0], [0.4196078431372549, 0.5568627450980392, 0.3843137254901961, 1.0], [0.4196078431372549, 0.5568627450980392, 0.3843137254901961, 1.0], [0.4196078431372549, 0.5568627450980392, 0.3843137254901961, 1.0], [0.4196078431372549, 0.5568627450980392, 0.3843137254901961, 1.0], [0.4196078431372549, 0.5568627450980392, 0.3843137254901961, 1.0], [0.4196078431372549, 0.5568627450980392, 0.3843137254901961, 1.0], [0.4196078431372549, 0.5568627450980392, 0.3843137254901961, 1.0], [0.4196078431372549, 0.5568627450980392, 0.3843137254901961, 1.0], [0.4196078431372549, 0.5568627450980392, 0.3843137254901961, 1.0], [0.4196078431372549, 0.5568627450980392, 0.3843137254901961, 1.0], [0.4196078431372549, 0.5568627450980392, 0.3843137254901961, 1.0], [0.4196078431372549, 0.5568627450980392, 0.3843137254901961, 1.0], [0.4196078431372549, 0.5568627450980392, 0.3843137254901961, 1.0], [0.4196078431372549, 0.5568627450980392, 0.3843137254901961, 1.0], [0.4196078431372549, 0.5568627450980392, 0.3843137254901961, 1.0], [0.4196078431372549, 0.5568627450980392, 0.3843137254901961, 1.0], [0.4196078431372549, 0.5568627450980392, 0.3843137254901961, 1.0], [0.4196078431372549, 0.5568627450980392, 0.3843137254901961, 1.0], [0.4196078431372549, 0.5568627450980392, 0.3843137254901961, 1.0], [0.4196078431372549, 0.5568627450980392, 0.3843137254901961, 1.0], [0.4196078431372549, 0.5568627450980392, 0.3843137254901961, 1.0], [0.4196078431372549, 0.5568627450980392, 0.3843137254901961, 1.0]], \"x error bars\": [[171.58333292167885, 337.9662894818939, 171.58333292167885, 368.3899814612822], [179.110589949376, 343.71635607241296, 179.110589949376, 362.63991487076316], [186.63784697707314, 181.91944444444442, 186.63784697707314, 181.91944444444442], [194.16510400477028, 181.91944444444442, 194.16510400477028, 181.91944444444442], [201.6923610324674, 181.91944444444442, 201.6923610324674, 181.91944444444442], [209.21961806016458, 350.9457157525198, 209.21961806016458, 355.41055519065634], [216.7468750878617, 181.91944444444442, 216.7468750878617, 181.91944444444442], [224.2741321155588, 341.8559356559705, 224.2741321155588, 364.50033528720564], [231.80138914325596, 181.91944444444442, 231.80138914325596, 181.91944444444442], [239.3286461709531, 181.91944444444442, 239.3286461709531, 181.91944444444442], [246.85590319865025, 181.91944444444442, 246.85590319865025, 181.91944444444442], [254.3831602263474, 181.91944444444442, 254.3831602263474, 181.91944444444442], [261.91041725404455, 181.91944444444442, 261.91041725404455, 181.91944444444442], [269.4376742817417, 181.91944444444442, 269.4376742817417, 181.91944444444442], [276.9649313094388, 181.91944444444442, 276.9649313094388, 181.91944444444442], [284.49218833713593, 348.8219749129874, 284.49218833713593, 357.5342960301887], [292.0194453648331, 181.91944444444442, 292.0194453648331, 181.91944444444442], [299.5467023925302, 181.91944444444442, 299.5467023925302, 181.91944444444442], [307.07395942022737, 349.8467862429471, 307.07395942022737, 356.50948470022905], [314.60121644792446, 342.1588585404812, 314.60121644792446, 364.1974124026949], [322.1284734756216, 181.91944444444442, 322.1284734756216, 181.91944444444442], [329.65573050331875, 181.91944444444442, 329.65573050331875, 181.91944444444442], [337.1829875310159, 181.91944444444442, 337.1829875310159, 181.91944444444442], [344.71024455871304, 181.91944444444442, 344.71024455871304, 181.91944444444442], [352.2375015864102, 181.91944444444442, 352.2375015864102, 181.91944444444442], [359.76475861410734, 181.91944444444442, 359.76475861410734, 181.91944444444442], [367.2920156418045, 520.4489175477279, 367.2920156418045, 528.4247354497354], [374.81927266950163, 181.91944444444442, 374.81927266950163, 181.91944444444442], [382.3465296971987, 341.4269029443475, 382.3465296971987, 364.92936799882864], [389.87378672489587, 181.91944444444442, 389.87378672489587, 181.91944444444442], [397.401043752593, 342.7584525365328, 397.401043752593, 363.59781840664334]]}, \"data from plot\": {\"data\": [[1.0, 1.0, 0.0, 0.0, 0.0, 1.0, 0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 1.0, 1.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 2.0, 0.0, 1.0, 0.0, 1.0], [-729437.5707975095, -703030.200913689, -676622.8310298686, -650215.461146048, -623808.0912622276, -597400.7213784071, -570993.3514945866, -544585.9816107661, -518178.6117269457, -491771.2418431252, -465363.8719593047, -438956.50207548426, -412549.1321916637, -386141.76230784325, -359734.3924240228, -333327.0225402023, -306919.65265638183, -280512.28277256136, -254104.9128887409, -227697.54300492042, -201290.17312109994, -174882.8032372794, -148475.433353459, -122068.06346963847, -95660.69358581793, -69253.32370199752, -42845.95381817699, -16438.583934356575, 9968.785949463956, 36376.15583328437, 62783.5257171049, 89190.89560092529], [\"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\", \"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\", \"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\", \"non serializable entry\"]], \"plot params\": {\"linethick\": 0, \"linestyles\": \"-\", \"bar color\": [0.4196078431372549, 0.5568627450980392, 0.3843137254901961, 1.0], \"edge color\": [[0.6196078431372549, 0.0196078431372549, 0.7058823529411765, 1.0]], \"orientation\": \"vertical\", \"rwidth\": 0.38599185232808275, \"nbins\": 31, \"elinewidth\": 2}, \"x error bars\": [[\"non serializable entry\"]]}, \"xticks\": [{\"data\": \"\\u22121000000\", \"xmin\": -30.177438221491343, \"ymin\": 108.23888888888888, \"xmax\": 211.57256177850866, \"ymax\": 153.23888888888888, \"tx\": 90.69756177850866, \"ty\": 181.91944444444442}, {\"data\": \"\\u2212500000\", \"xmin\": 127.46946117275712, \"ymin\": 108.23888888888888, \"xmax\": 338.9694611727571, \"ymax\": 153.23888888888888, \"tx\": 233.21946117275712, \"ty\": 181.91944444444442}, {\"data\": \"0\", \"xmin\": 360.6163605670056, \"ymin\": 108.23888888888888, \"xmax\": 390.8663605670056, \"ymax\": 153.23888888888888, \"tx\": 375.7413605670056, \"ty\": 181.91944444444442}, {\"data\": \"500000\", \"xmin\": 427.4507599612541, \"ymin\": 108.23888888888888, \"xmax\": 609.0757599612541, \"ymax\": 153.23888888888888, \"tx\": 518.2632599612541, \"ty\": 181.91944444444442}], \"yticks\": [{\"data\": \"0\", \"xmin\": 99.76388888888891, \"ymin\": 154.91944444444442, \"xmax\": 130.0138888888889, \"ymax\": 199.91944444444442, \"tx\": 158.69444444444446, \"ty\": 181.91944444444442}, {\"data\": \"1\", \"xmin\": 99.63888888888891, \"ymin\": 326.17813547158806, \"xmax\": 130.0138888888889, \"ymax\": 371.17813547158806, \"tx\": 158.69444444444446, \"ty\": 353.17813547158806}, {\"data\": \"2\", \"xmin\": 99.63888888888891, \"ymin\": 497.43682649873176, \"xmax\": 130.0138888888889, \"ymax\": 542.4368264987318, \"tx\": 158.69444444444446, \"ty\": 524.4368264987318}, {\"data\": \"3\", \"xmin\": 99.63888888888891, \"ymin\": 668.6955175258754, \"xmax\": 130.0138888888889, \"ymax\": 713.6955175258754, \"tx\": 158.69444444444446, \"ty\": 695.6955175258754}], \"square\": {\"xmin\": 158.50593681469724, \"ymin\": 181.91944444444442, \"xmax\": 409.80256304116705, \"ymax\": 545.75}, \"title\": {\"xmin\": 284.492188337136, \"ymin\": 570.3333333333334, \"xmax\": 284.492188337136, \"ymax\": 570.3333333333334, \"words\": \"\"}, \"xlabel\": {\"xmin\": 132.6859142282493, \"ymin\": 44.249999999999986, \"xmax\": 436.29846244602265, \"ymax\": 91.85, \"words\": \"$c(t_i) = c_0 a(t_i)^{b/4}$ \"}, \"ylabel\": {\"xmin\": 44.250000000000014, \"ymin\": 187.13856377495662, \"xmax\": 83.25000000000003, \"ymax\": 540.5308806694878, \"words\": \"$a=1000$ $i\\\\lesssim 75^\\\\circ$ \"}}, \"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\": 31}, \"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\": -729437.5707975095}}, \"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\": 89190.89560092529}}, \"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\": -244436.38922290585}}, \"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\": -294062.2059320547}}, \"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\": 3}, \"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.\"}}}}}}"