# {py:mod}`causalis.scenarios.did.refutation.diagnostic_plots`

```{py:module} causalis.scenarios.did.refutation.diagnostic_plots
```

```{autodoc2-docstring} causalis.scenarios.did.refutation.diagnostic_plots
:allowtitles:
```

## Module Contents

### Functions

````{list-table}
:class: autosummary longtable
:align: left

* - {py:obj}`plot_did_support <causalis.scenarios.did.refutation.diagnostic_plots.plot_did_support>`
  - ```{autodoc2-docstring} causalis.scenarios.did.refutation.diagnostic_plots.plot_did_support
    :summary:
    ```
* - {py:obj}`plot_raw_did_event_study <causalis.scenarios.did.refutation.diagnostic_plots.plot_raw_did_event_study>`
  - ```{autodoc2-docstring} causalis.scenarios.did.refutation.diagnostic_plots.plot_raw_did_event_study
    :summary:
    ```
````

### Data

````{list-table}
:class: autosummary longtable
:align: left

* - {py:obj}`__all__ <causalis.scenarios.did.refutation.diagnostic_plots.__all__>`
  - ```{autodoc2-docstring} causalis.scenarios.did.refutation.diagnostic_plots.__all__
    :summary:
    ```
````

### API

````{py:function} plot_did_support(data: causalis.data_contracts.PanelDataDID, *, control_group: causalis.data_contracts.panel_data_did.ComparisonGroup = 'not_yet_or_never', anticipation: int = 0, base_period: causalis.scenarios.did.refutation.diagnostics.BasePeriod = 'universal', include_pre_periods: bool = False, figsize: typing.Tuple[float, float] = (10.0, 5.5), dpi: int = 220, font_scale: float = 1.05) -> matplotlib.pyplot.Figure
:canonical: causalis.scenarios.did.refutation.diagnostic_plots.plot_did_support

```{autodoc2-docstring} causalis.scenarios.did.refutation.diagnostic_plots.plot_did_support
```
````

````{py:function} plot_raw_did_event_study(data: causalis.data_contracts.PanelDataDID, *, control_group: causalis.data_contracts.panel_data_did.ComparisonGroup = 'not_yet_or_never', anticipation: int = 0, base_period: causalis.scenarios.did.refutation.diagnostics.BasePeriod = 'varying', include_pre_periods: bool = True, figsize: typing.Tuple[float, float] = (9.0, 5.2), dpi: int = 220, font_scale: float = 1.05) -> matplotlib.pyplot.Figure
:canonical: causalis.scenarios.did.refutation.diagnostic_plots.plot_raw_did_event_study

```{autodoc2-docstring} causalis.scenarios.did.refutation.diagnostic_plots.plot_raw_did_event_study
```
````

````{py:data} __all__
:canonical: causalis.scenarios.did.refutation.diagnostic_plots.__all__
:value: >
   ['plot_did_support', 'plot_raw_did_event_study']

```{autodoc2-docstring} causalis.scenarios.did.refutation.diagnostic_plots.__all__
```

````
