GitHub PushEvent at 2014-03-09 01:07:31
Repository: mplexporter
Actor: theengineear
Payload: {"shas":[["610ce8ea308ccefab050ff43aa3ebf9128a43d68","41f37923cfcf53498a4bafd7b2d48e8aeed3804a@astro.washington.edu","update patch fill properties","Jake Vanderplas",false],["6388e5363d1586b1bd3df7424d246ff96c238c79","41f37923cfcf53498a4bafd7b2d48e8aeed3804a@astro.washington.edu","pass grid styles","Jake Vanderplas",false],["a2b002aff8443df83849ead2ff34ba2b4299ccf3","41f37923cfcf53498a4bafd7b2d48e8aeed3804a@astro.washington.edu","BUG: fix plot with no gridlines","Jake Vanderplas",false],["4e295b6e150fd97222664a08272cae53f6d51925","41f37923cfcf53498a4bafd7b2d48e8aeed3804a@astro.washington.edu","pass through artist texts","Jake Vanderplas",false],["0889cac3b5a69baabaa6f175c98e732f5d8d73fd","41f37923cfcf53498a4bafd7b2d48e8aeed3804a@astro.washington.edu","fix log scale issues","Jake Vanderplas",false],["6d40638a936eeaee3159c7aa3a41e31156799937","41f37923cfcf53498a4bafd7b2d48e8aeed3804a@astro.washington.edu","fix date domains","Jake Vanderplas",false],["db83946c8c3986f5bda3ee2a6c9b6bd1da4b303e","6783443c3d36b9800ec3dee574ed5f9ed73ac86f@gmail.com","Merge pull request #4 from theengineear/master\n\nSome Nose tests for plotly, cleaner renderer, minimal subplot support.","Jake Vanderplas",false],["fe79789b599a9583564ddce108f8f37da4acdaa7","41f37923cfcf53498a4bafd7b2d48e8aeed3804a@astro.washington.edu","export legend","Jake Vanderplas",false],["c6030b3b23a9268bbd96987a12fcb438dfd9273b","41f37923cfcf53498a4bafd7b2d48e8aeed3804a@astro.washington.edu","BUG: correctly pass along zorder in markers","Jake Vanderplas",false],["63e1b17adf5325fb2a9321132dab51597e91890c","41f37923cfcf53498a4bafd7b2d48e8aeed3804a@astro.washington.edu","call all renderer.draw_* with explicit keywords","Jake Vanderplas",false],["6786d94f11428703e07c744fb1ddcc20da7cb309","41f37923cfcf53498a4bafd7b2d48e8aeed3804a@astro.washington.edu","properties->props in renderers","Jake Vanderplas",false],["bbcf088734c04ade47d066fe08fe0e609577f0a9","41f37923cfcf53498a4bafd7b2d48e8aeed3804a@astro.washington.edu","comment-out broken legend rendering","Jake Vanderplas",false],["828139008fa155991200b1267f57325dcca52ca0","41f37923cfcf53498a4bafd7b2d48e8aeed3804a@astro.washington.edu","only import plotly if needed","Jake Vanderplas",false],["bf83fa8ea2b7d9152aa6e2b50804a66fe438732d","41f37923cfcf53498a4bafd7b2d48e8aeed3804a@astro.washington.edu","Merge branch 'master' of github.com:mpld3/mplexporter","Jake Vanderplas",false],["2b2a6b459ddc04d0e9bd0f7b7ace8794feb7102d","f89e06ca17c108362fcc5aab598b94d0c1b5556a@gmail.com","Added plotly_utils.clean_dict(). Removes None. 'None', 'none', and {}.\n\nJSON dictionaries sent to plotly should not have entries that contain\n'none', 'None', None, or are themselves empty dictionaries ({}). This\nshould be updated at some point to disregard entries that are expected\nto be labels so that users could use 'None' or 'none' to label a plot.\nThis is pretty unlikely, but should be changed.\n\nclean_dict(node, partent=None, node_key=None) is a recursive function to\nclean out a dictionary. Only nodes that are dictionaries are looped back\nthrough the function. The JSON structures are dictionary-based, while\nmatplotlib structures are lists, no unintentional deletion problems have\nsurface yet.","theengineear",false],["26fce2eea0418a264dbd2f5e6caed060732dc108","f89e06ca17c108362fcc5aab598b94d0c1b5556a@gmail.com","Added user_friendly dictionary repair functions to plotly_utils.\n\nThere are many situations where and 'x1', 'y1', 'xaxis1', etc. show up\nin the final collections for layout or data.\n\nTo make future fixes simpler the following system was put in place:\n\n- To rename a key add the following to the *_key_repairs dict:\n(key_path_tup): new_key\n\n- To repair a value add the following to the *_val_repairs dict:\n(key_path_tup): {bug: fix}\n\n'key_path_tup'** is a tuple of dictionary keys. 'new_key' is the key you\nwould like to rename 'key_path_tuple[-1]' with. 'bug' is the value that\nneeds to be changed to 'fix'.\n\n** key_path_tup will work ACROSS lists that are nested within plotly\nJSON structures. For example, 'annotations' is a key in layout, but\nlayout['annotations'] is a list of dictionaries. These new functions\nhandle this inconsistency by splitting into a for loop each time this\nhappens and continuing along the remaining key_path_tup for each\ndictionary in the list.\n\nPlotlyRenderer class was updated to use this new functionality.","theengineear",false],["7a718c58dd472406978331b5a30f3de78928f8d9","f89e06ca17c108362fcc5aab598b94d0c1b5556a@gmail.com","Added positioning for annotations.\n\nCurrently this uses a 'private' attribute from the base renderer class\nto use _current_ax to get an inverse transform for annotation position.","theengineear",false],["7e38d643f86aa06fa3d5f1114b33e92b6c4bda62","f89e06ca17c108362fcc5aab598b94d0c1b5556a@gmail.com","Workaround for annotation transforms and axis label size.\n\nThese are hacky workarounds:\n\n- Transform for annotation gives the transformation necessary to get\nannotation coordinates into display coordinates. However, the\ntransformation to put these coordinates into data coordinates is not\ngiven. A solution might be to either pass the axes object upon calling\ndraw_text. The 'private' _current_ax object from the base renderer class\nwas used to transform annotations to data coordinates (what plotly\ngenerally uses)\n\n- Axis labels are children of xaxis and yaxis instances, which are\nchildren of the current axes object. When the label is passed to the\nrenderer, it would be helpful to either get this specific text instance\nor the size. I used the current axis to get at the xaxis/yaxis objects\nand then filted their lists of children until i found the label that\nmatched the one mplexporter passes to the renderer. I don't know that\nthere is a way to get around having to sort through the children and\ncompare strings. This probably won't break down for 'normal' use, but a\npathological example could make it do weird things.","theengineear",false],["ac751d5ca7c57ab3708ba1c08392fc16e73a256a","41f37923cfcf53498a4bafd7b2d48e8aeed3804a@astro.washington.edu","add legend; switch to data/axes/figure/display coordinates","Jake Vanderplas",false],["b24aa72a4be0399c1b0342214999cb030183a556","41f37923cfcf53498a4bafd7b2d48e8aeed3804a@astro.washington.edu","connect grid styles to axis props","Jake Vanderplas",false]],"size":35,"ref":"refs/heads/master","head":"582b7866a84bebf220a1055253b9b4d37a1520f7"}