-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* use Field aliases for summary_types * move handle_view() out into utils.py; get rid of sample_chart() function * add all other chart view/config models * Update correlation_matrix.py * Update radar_plot.py * Update scatterplot_matrix.py * rename * fix parsing * renames, reorders, set dex_charts discriminator pattern * remove chart_view_ref * rename from arc_diagram * add connected scatter models * fix force directed network config * add parsing tests * offload sample_* functions to their respective plotting modules * add get_chart_view() for quick parsing * add sample* functions and placeholder functions for not-yet-implemented charts * what kind of madman did all of this * WHO TESTS THE TESTS * update docs * fix import * clean up all the imports * move violin to summary.py; clean up ordering * add radar_plot to __all__ * ordering * swap these * this sparks joy * ordering * not sure what happened here but it's better now * ordering * another fix * update radar/dotplot configs and discriminators * update tests to use the actual function calls and check for associated view models * allow dx.<plot func> and add `dx.plotting.dex.chart_functions` * py3.8 * rename to avoid conflict with function names (looking at you, funnel.)
- Loading branch information
Showing
91 changed files
with
2,125 additions
and
893 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
<!-- --8<-- [start:usage] --> | ||
## Chart Name | ||
Coming soon! | ||
<!-- ### Simple | ||
=== "dx" | ||
```python | ||
dx.dataprism(df, ...) | ||
``` | ||
![](../screenshots/plotting_dataprism_simple1.png) | ||
=== "pd.options.plotting.backend = 'dx'" | ||
!!! info "Make sure you [enable `dx` as a pandas plotting backend](../plotting/overview.md#enabling-pandas-plotting-backend) first." | ||
```python | ||
df.plot(kind='dataprism', x='keyword_column', y='integer_column') | ||
``` | ||
![](../screenshots/plotting_dataprism_simple1_pd.png) | ||
### Customized | ||
=== "dx" | ||
```python | ||
dx.dataprism( | ||
df, | ||
... | ||
) | ||
``` | ||
![](../screenshots/plotting_dataprism_custom1.png) | ||
=== "pd.options.plotting.backend = 'dx'" | ||
!!! info "Make sure you [enable `dx` as a pandas plotting backend](../plotting/overview.md#enabling-pandas-plotting-backend) first." | ||
```python | ||
df.plot( | ||
kind='dataprism', | ||
... | ||
) | ||
``` | ||
![](../screenshots/plotting_dataprism_custom1_pd.png) --> | ||
|
||
<!-- --8<-- [end:usage] --> | ||
|
||
<!-- --8<-- [start:ref] --> | ||
## Chart Name | ||
Coming soon! | ||
<!-- ::: src.dx.plotting.dex.dataprism --> | ||
<!-- --8<-- [end:ref] --> |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
::: src.dx.test_compatibility | ||
::: src.dx.test_build_table_schema | ||
::: src.dx.test_json_clean | ||
::: src.dx.test_db_write | ||
::: src.dx.test_dx_handling | ||
::: src.dx.datatypes.compatibility.test_compatibility | ||
::: src.dx.datatypes.compatibility.test_build_table_schema | ||
::: src.dx.datatypes.compatibility.test_json_clean | ||
::: src.dx.datatypes.compatibility.test_db_write | ||
::: src.dx.datatypes.compatibility.test_dx_handling |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
::: src.dx.quick_random_dataframe | ||
::: src.dx.random_dataframe | ||
::: src.dx.datatypes.main.quick_random_dataframe | ||
::: src.dx.datatypes.main.random_dataframe |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
::: src.dx.generate_datetime_series | ||
::: src.dx.generate_date_series | ||
::: src.dx.generate_time_series | ||
::: src.dx.generate_time_period_series | ||
::: src.dx.generate_time_interval_series | ||
::: src.dx.generate_time_delta_series | ||
::: src.dx.datatypes.date_time.generate_datetime_series | ||
::: src.dx.datatypes.date_time.generate_date_series | ||
::: src.dx.datatypes.date_time.generate_time_series | ||
::: src.dx.datatypes.date_time.generate_time_period_series | ||
::: src.dx.datatypes.date_time.generate_time_interval_series | ||
::: src.dx.datatypes.date_time.generate_time_delta_series |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
::: src.dx.generate_lat_float_series | ||
::: src.dx.generate_lon_float_series | ||
::: src.dx.generate_latlon_series | ||
::: src.dx.generate_filled_geojson_series | ||
::: src.dx.generate_exterior_bounds_geojson_series | ||
::: src.dx.datatypes.geometry.generate_lat_float_series | ||
::: src.dx.datatypes.geometry.generate_lon_float_series | ||
::: src.dx.datatypes.geometry.generate_latlon_series | ||
::: src.dx.datatypes.geometry.generate_filled_geojson_series | ||
::: src.dx.datatypes.geometry.generate_exterior_bounds_geojson_series |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
::: src.dx.generate_boolean_series | ||
::: src.dx.generate_bytes_series | ||
::: src.dx.generate_dict_series | ||
::: src.dx.generate_dtype_series | ||
::: src.dx.generate_list_series | ||
::: src.dx.generate_ipv4_series | ||
::: src.dx.generate_ipv6_series | ||
::: src.dx.generate_uuid4_series | ||
::: src.dx.datatypes.misc.generate_boolean_series | ||
::: src.dx.datatypes.misc.generate_bytes_series | ||
::: src.dx.datatypes.misc.generate_dict_series | ||
::: src.dx.datatypes.misc.generate_dtype_series | ||
::: src.dx.datatypes.misc.generate_list_series | ||
::: src.dx.datatypes.misc.generate_ipv4_series | ||
::: src.dx.datatypes.misc.generate_ipv6_series | ||
::: src.dx.datatypes.misc.generate_uuid4_series |
Oops, something went wrong.