Commit 7ddd1c9
authored
Introduce skip_invalid argument to figure (#1162)
* Add skip_invalid kwarg to graph_objs constructors.
When set to True (Default is False) all invalid properties (invalid
by name or by value) will be skipped an no exception will be raised
due to schema violations. The option applies recursively to all
child objects, but it only applies within the scope of the constructor.
* Add skip_invalid kwarg to Figure and FigureWidget.
Added docstring documentatin of skip_invalid, and added
new tests.
When set to True (Default is False) all invalid properties (invalid
by name or by value) will be skipped an no exception will be raised
due to schema violations. The option applies recursively to all
child objects, but it only applies within the scope of the constructor.1 parent 9dbb5cd commit 7ddd1c9
File tree
585 files changed
+4913
-43
lines changed- _plotly_utils
- tests/validators
- codegen
- plotly
- graph_objs
- area
- hoverlabel
- bar
- hoverlabel
- marker
- colorbar
- selected
- unselected
- box
- hoverlabel
- marker
- selected
- unselected
- candlestick
- decreasing
- hoverlabel
- increasing
- carpet
- aaxis
- baxis
- hoverlabel
- choropleth
- colorbar
- hoverlabel
- marker
- selected
- unselected
- cone
- colorbar
- hoverlabel
- contourcarpet
- colorbar
- contours
- hoverlabel
- contour
- colorbar
- contours
- hoverlabel
- heatmapgl
- colorbar
- hoverlabel
- heatmap
- colorbar
- hoverlabel
- histogram2dcontour
- colorbar
- contours
- hoverlabel
- histogram2d
- colorbar
- hoverlabel
- histogram
- hoverlabel
- marker
- colorbar
- selected
- unselected
- layout
- annotation
- hoverlabel
- geo
- projection
- grid
- hoverlabel
- legend
- mapbox
- layer
- symbol
- polar
- angularaxis
- radialaxis
- scene
- annotation
- hoverlabel
- camera
- xaxis
- yaxis
- zaxis
- shape
- slider
- currentvalue
- ternary
- aaxis
- baxis
- caxis
- xaxis
- rangeselector
- rangeslider
- yaxis
- mesh3d
- colorbar
- hoverlabel
- ohlc
- decreasing
- hoverlabel
- increasing
- parcoords
- hoverlabel
- line
- colorbar
- pie
- hoverlabel
- marker
- pointcloud
- hoverlabel
- marker
- sankey
- hoverlabel
- link
- node
- scatter3d
- hoverlabel
- marker
- colorbar
- projection
- scattercarpet
- hoverlabel
- marker
- colorbar
- selected
- unselected
- scattergeo
- hoverlabel
- marker
- colorbar
- selected
- unselected
- scattergl
- hoverlabel
- marker
- colorbar
- selected
- unselected
- scattermapbox
- hoverlabel
- marker
- colorbar
- selected
- unselected
- scatterpolargl
- hoverlabel
- marker
- colorbar
- selected
- unselected
- scatterpolar
- hoverlabel
- marker
- colorbar
- selected
- unselected
- scatterternary
- hoverlabel
- marker
- colorbar
- selected
- unselected
- scatter
- hoverlabel
- marker
- colorbar
- selected
- unselected
- splom
- dimension
- hoverlabel
- marker
- colorbar
- selected
- unselected
- streamtube
- colorbar
- hoverlabel
- surface
- colorbar
- contours
- x
- y
- z
- hoverlabel
- table
- cells
- header
- hoverlabel
- violin
- box
- hoverlabel
- marker
- selected
- unselected
- tests/test_core/test_graph_objs
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
585 files changed
+4913
-43
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1890 | 1890 | | |
1891 | 1891 | | |
1892 | 1892 | | |
1893 | | - | |
| 1893 | + | |
1894 | 1894 | | |
1895 | 1895 | | |
1896 | 1896 | | |
1897 | 1897 | | |
1898 | | - | |
| 1898 | + | |
1899 | 1899 | | |
1900 | 1900 | | |
1901 | 1901 | | |
1902 | | - | |
| 1902 | + | |
1903 | 1903 | | |
1904 | | - | |
| 1904 | + | |
| 1905 | + | |
| 1906 | + | |
| 1907 | + | |
1905 | 1908 | | |
1906 | 1909 | | |
1907 | 1910 | | |
| |||
1948 | 1951 | | |
1949 | 1952 | | |
1950 | 1953 | | |
1951 | | - | |
| 1954 | + | |
1952 | 1955 | | |
1953 | 1956 | | |
1954 | 1957 | | |
| |||
1958 | 1961 | | |
1959 | 1962 | | |
1960 | 1963 | | |
1961 | | - | |
| 1964 | + | |
1962 | 1965 | | |
1963 | | - | |
| 1966 | + | |
| 1967 | + | |
1964 | 1968 | | |
1965 | | - | |
1966 | | - | |
| 1969 | + | |
| 1970 | + | |
| 1971 | + | |
| 1972 | + | |
| 1973 | + | |
1967 | 1974 | | |
1968 | 1975 | | |
1969 | 1976 | | |
1970 | 1977 | | |
1971 | 1978 | | |
1972 | 1979 | | |
1973 | | - | |
| 1980 | + | |
| 1981 | + | |
| 1982 | + | |
| 1983 | + | |
1974 | 1984 | | |
1975 | 1985 | | |
1976 | 1986 | | |
| |||
2032 | 2042 | | |
2033 | 2043 | | |
2034 | 2044 | | |
2035 | | - | |
| 2045 | + | |
2036 | 2046 | | |
2037 | 2047 | | |
2038 | 2048 | | |
| |||
2062 | 2072 | | |
2063 | 2073 | | |
2064 | 2074 | | |
2065 | | - | |
2066 | | - | |
| 2075 | + | |
| 2076 | + | |
| 2077 | + | |
| 2078 | + | |
| 2079 | + | |
| 2080 | + | |
| 2081 | + | |
| 2082 | + | |
2067 | 2083 | | |
2068 | | - | |
| 2084 | + | |
| 2085 | + | |
2069 | 2086 | | |
2070 | 2087 | | |
2071 | | - | |
2072 | | - | |
| 2088 | + | |
| 2089 | + | |
| 2090 | + | |
| 2091 | + | |
| 2092 | + | |
| 2093 | + | |
| 2094 | + | |
2073 | 2095 | | |
2074 | 2096 | | |
2075 | 2097 | | |
| |||
2082 | 2104 | | |
2083 | 2105 | | |
2084 | 2106 | | |
2085 | | - | |
| 2107 | + | |
| 2108 | + | |
| 2109 | + | |
| 2110 | + | |
2086 | 2111 | | |
2087 | 2112 | | |
Lines changed: 39 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
10 | | - | |
11 | | - | |
| 11 | + | |
| 12 | + | |
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
16 | 26 | | |
17 | 27 | | |
18 | 28 | | |
| |||
104 | 114 | | |
105 | 115 | | |
106 | 116 | | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
Lines changed: 40 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
221 | 221 | | |
222 | 222 | | |
223 | 223 | | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
224 | 228 | | |
225 | 229 | | |
226 | 230 | | |
| |||
266 | 270 | | |
267 | 271 | | |
268 | 272 | | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
269 | 277 | | |
270 | 278 | | |
271 | 279 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
| 71 | + | |
71 | 72 | | |
72 | 73 | | |
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
77 | 78 | | |
| 79 | + | |
78 | 80 | | |
79 | 81 | | |
| 82 | + | |
80 | 83 | | |
81 | 84 | | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
82 | 96 | | |
83 | | - | |
| 97 | + | |
| 98 | + | |
84 | 99 | | |
85 | 100 | | |
86 | 101 | | |
| |||
0 commit comments