- 
 
 - 
  Notifications
 
You must be signed in to change notification settings  - Fork 2.7k
 
Update graph reference #292
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
 
  Merged
 
 
 
 
  Merged
 Changes from 1 commit
 Commits
 
 
 Show all changes
 
 
 113 commits
 
 
 Select commit
 Hold shift + click to select a range
 
 793bfa9
 
 (matplotlylib) Axis `autotick` —> `tickmode`.
 
 
 theengineear 3b2d398
 
 (matplotlylib) Merge opacity into color.
 
 
 theengineear 92e6e4f
 
 Add `get_by_path` and `node_generator` to utils.py
 
 
 theengineear 98e8bc9
 
 Add function to change string to class name.
 
 
 theengineear e38daa4
 
 Compile the `OBJECTS` dict in graph_reference.py.
 
 
 theengineear 248fa95
 
 Compile the `CLASS_NAMES_TO_OBJECT_NAMES` dict.
 
 
 theengineear 729a0bb
 
 Add public method to `get_object_info`.
 
 
 theengineear 1963dcb
 
 Add public method to tell if `attribute_is_array`.
 
 
 theengineear c1ba309
 
 Stop auto-updating keys (deprecation pending).
 
 
 theengineear b129039
 
 Add `assign_id_to_src` to `graph_objs_tools.py`.
 
 
 theengineear 84d7ca3
 
 Refact (simplify) doc creation.
 
 
 theengineear a21fe90
 
 Remove old graph reference loading.
 
 
 theengineear bd01684
 
 Add small helper function to sort attributes.
 
 
 theengineear e747302
 
 Replace old `value_is_data` with `get_role`.
 
 
 theengineear a90a922
 
 :dolls: We *do* perform some magic now...
 
 
 theengineear 69b868f
 
 Add a new `PlotlyBase` class.
 
 
 theengineear 3543781
 
 Add `GraphObjectFactory`.
 
 
 theengineear 59a703e
 
 Inherit from `PlotlyBase`.
 
 
 theengineear f3495e5
 
 Remove `to_graph_objs`, `validate`, `get_ordered`.
 
 
 theengineear f8610e3
 
 Remove `_assign_id_to_src`. It moved.
 
 
 theengineear 45729be
 
 Add private attrs to `PlotlyList` and `PlotlyDict`
 
 
 theengineear e46276a
 
 Update PlotlyDict and PlotlyList `update` methods.
 
 
 theengineear b421c35
 
 Update `strip_style` methods.
 
 
 theengineear 6d27008
 
 Update `get_data` methods.
 
 
 theengineear e8b342e
 
 Update `to_string` methods.
 
 
 theengineear 06be891
 
 Update `force_clean` methods.
 
 
 theengineear 687969e
 
 Add `value_to_graph_object` methods.
 
 
 theengineear 9f27eba
 
 Add PlotlyDict method to allow int-appended attrs.
 
 
 theengineear 7dcfc96
 
 Make PlotlyList magic.
 
 
 theengineear d338502
 
 Make PlotlyDict magic.
 
 
 theengineear 50184c9
 
 Add in support for the `copy` module. (more)
 
 
 theengineear e96ffc7
 
 Simply define `Figure` instead of patching it.
 
 
 theengineear 1dd6035
 
 Simply define `Data` instead of patching.
 
 
 theengineear d961a7a
 
 Simply define `Layout` instead of patching it.
 
 
 theengineear 52b9d0d
 
 Remove `PlotlyTrace` and no validation on `Trace`.
 
 
 theengineear 84fe0d6
 
 We no longer need to patch Annotations.
 
 
 theengineear 514a3ee
 
 Refact how we generate all the dynamic classes.
 
 
 theengineear c997773
 
 Update imports.
 
 
 theengineear 08a76c7
 
 Export an appropriate `__all__`.
 
 
 theengineear 3a715c6
 
 Set `grid_ref` and `grid_str` on `__dict__`.
 
 
 theengineear cc62571
 
 Update `get_valid_graph_obj`.
 
 
 theengineear 59c12c7
 
 Update `validate`. Not *really* needed though...
 
 
 theengineear a79dbf4
 
 Update `return_figure_from_figure_or_data`.
 
 
 theengineear 42f450c
 
 Refact plotly_list / plotly_dict tests.
 
 
 theengineear ecc267d
 
 Remove get ordered tests.
 
 
 theengineear aa2da24
 
 Remove `PlotlyTrace` tests (DNE).
 
 
 theengineear a0ae2a2
 
 Remove old `test_graph_objs_tools` tests.
 
 
 theengineear 801d81d
 
 Update `test_annotations.py`.
 
 
 theengineear 8920dc2
 
 Update `test_append_trace.py`. <— @etpinard
 
 
 theengineear ace9f68
 
 Update `test_data.py`.
 
 
 theengineear b434a3c
 
 Update `test_error_bars.py`.
 
 
 theengineear 8d31b6e
 
 Update `test_to_string.py`.
 
 
 theengineear 2649be7
 
 Update `test_update.py`.
 
 
 theengineear 3fd16ba
 
 Merge branch 'cache-plot-schema' into update-graph-reference
 
 
 theengineear 3615088
 
 Add `+=` operator via `__iadd__`.
 
 
 theengineear d653001
 
 Stop hard-coding `META_KEYS` (is in the schema).
 
 
 theengineear fbdd9e8
 
 Use `hrName` from graph reference.
 
 
 theengineear 0d34997
 
 :hocho: the old `get_class_instance_by_name`.
 
 
 theengineear b2fa961
 
 Merge branch 'cache-plot-schema' into update-graph-reference
 
 
 theengineear 96c226a
 
 In PY3 `.keys()` returns a `view` not a `list`!
 
 
 theengineear f9edd67
 
 Missed another one, same as above. `list(keys)`
 
 
 theengineear a31dbd5
 
 Don’t store paths for objects under meta keys.
 
 
 theengineear fca4d5f
 
 Return deprecated attrs along with object info.
 
 
 theengineear de24bd8
 
 Allow deprecated attrs to be set *as-is*.
 
 
 theengineear 8ed7f81
 
 Add deprecated attributes to figure and layout.
 
 
 theengineear 80d17e1
 
 return subplot_attributes with object info.
 
 
 theengineear 4950915
 
 Use _isSubplotObj instead of hard-coded strings.
 
 
 theengineear 5e6b465
 
 Suppress warnings in `get_figure` tests.
 
 
 theengineear 56100a7
 
 Tag slow tests with `@attr(‘slow’)`. (more)
 
 
 theengineear 8049439
 
 Tag skipped tests with GH issues.
 
 
 theengineear 45b3fc7
 
 Add some :tiger2:s for `graph_objs_tools.py`.
 
 
 theengineear 4f610fc
 
 :cow2: Removing redundant parens.
 
 
 theengineear 301f21d
 
 Fix `force_clean` call signature. Still :cactus:.
 
 
 theengineear f8dc6a3
 
 Be clearer about instantiating `data` in `Figure`.
 
 
 theengineear 992a73a
 
 :dolls: so many :dolls:.
 
 
 theengineear eccb469
 
 Go completely path-based / dynamic. (messy commit)
 
 
 theengineear 8fc79ff
 
 `value_to_graph_object` > `_value_to_graph_object`
 
 
 theengineear c12fc2c
 
 Merge branch 'cache-plot-schema' into update-graph-reference
 
 
 theengineear 7a24734
 
 Merge branch 'cache-plot-schema' into update-graph-reference
 
 
 theengineear 1f84f23
 
 Merge branch 'master' into update-graph-reference
 
 
 theengineear 2131e98
 
 Expect deprecated attributes to have `role`.
 
 
 theengineear 496242d
 
 Make `get_attributes` return homogenous `dict`.
 
 
 theengineear e387a16
 
 Move `get_role` to `graph_reference.py`.
 
 
 theengineear 4bd19d4
 
 Add dynamic `.help()` for Graph Objects.
 
 
 theengineear 4320ce4
 
 Use dynamic help to construct doc string.
 
 
 theengineear 3edbe08
 
 Add methods for patching `Data` and `Figure`.
 
 
 theengineear 0ed1c98
 
 Allow `Figure` and `Data` to be auto-generated.
 
 
 theengineear 79132b3
 
 Help user find deprecation description when warned
 
 
 theengineear 7b01986
 
 TODO-daloo.
 
 
 theengineear 35224f6
 
 Remove `TODO` (no GH issue)
 
 
 theengineear 80fa6c9
 
 Add helper method `get_parent_object_names`.
 
 
 theengineear f4beea0
 
 `get_path` to `_get_path`.
 
 
 theengineear d207577
 
 `get_parents` to `_get_parents`.
 
 
 theengineear 9cfa817
 
 Make `get_parent_object_names` private.
 
 
 theengineear 6e80023
 
 Re-organize private defs above public ones.
 
 
 theengineear c215ab8
 
 `print()` not `print`, PY3 fix.
 
 
 theengineear 91c51e4
 
 Test help calls on all attributes of all objects.
 
 
 theengineear 211f46c
 
 Add patch to fix test.
 
 
 theengineear 97c8801
 
 Add some more :tiger2:s for graph reference.
 
 
 theengineear dcf6d45
 
 Removing skipped tests.
 
 
 theengineear bda1c93
 
 Add back `DataTypeError`
 
 
 theengineear 924f181
 
 Stop using `hrName`. (just patch it).
 
 
 theengineear 0be0d20
 
 Add failing specs for current/future class names.
 
 
 theengineear 033e8dd
 
 :cactus: Require obj_type in `get_valid_graph_obj`
 
 
 theengineear 691bf73
 
 Add new organization to `graph_reference.py`.
 
 
 theengineear 41e9675
 
 Use the new `CLASSES` in `tools.py`.
 
 
 theengineear 1b0f007
 
 Add `object_name_to_class_name` function. (more)
 
 
 theengineear 02adc54
 
 Allow `PlotlyDict` and `PlotlyList` to be used.
 
 
 theengineear 4f65904
 
 Remove unused test...
 
 
 theengineear 00c1f83
 
 Use `_get_class_name()` over `__class__.__name__`.
 
 
 theengineear fa3e928
 
 Init sub-objects as generic objects.
 
 
 theengineear 19be9ab
 
 Remove old graph_reference compat framework.
 
 
 theengineear d315065
 
 Update code for new plot-schema structure.
 
 
 theengineear File filter
Filter by extension
Conversations
 Failed to load comments. 
 
 
 
  Loading
 
 Jump to
 
 Jump to file
 
 
 
 Failed to load files. 
 
 
 
  Loading
 
 Diff view
Diff view
 Fix 
 force_clean call signature. Still 🌵.
 (that’s the backwards compatibility cactus)
- Loading branch information
 
 
 
 commit 301f21d984a5f1c4f275c43399058ff351ac5ff8
 
 
There are no files selected for viewing
 
 
 This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
 Learn more about bidirectional Unicode characters
 
 
 
 
 
 Add this suggestion to a batch that can be applied as a single commit.
 This suggestion is invalid because no changes were made to the code.
 Suggestions cannot be applied while the pull request is closed.
 Suggestions cannot be applied while viewing a subset of changes.
 Only one suggestion per line can be applied in a batch.
 Add this suggestion to a batch that can be applied as a single commit.
 Applying suggestions on deleted lines is not supported.
 You must change the existing code in this line in order to create a valid suggestion.
 Outdated suggestions cannot be applied.
 This suggestion has been applied or marked resolved.
 Suggestions cannot be applied from pending reviews.
 Suggestions cannot be applied on multi-line comments.
 Suggestions cannot be applied while the pull request is queued to merge.
 Suggestion cannot be applied right now. Please check back later.