|
3 | 3 | """ |
4 | 4 |
|
5 | 5 | from ploomber_core.dependencies import requires |
6 | | -from ploomber_core.exceptions import modify_exceptions |
7 | 6 | from jinja2 import Template |
8 | 7 |
|
9 | 8 | from sql import exceptions, display |
@@ -106,7 +105,6 @@ def _between(conn, table, column, whislo, whishi, with_=None): |
106 | 105 |
|
107 | 106 |
|
108 | 107 | # https://github.com/matplotlib/matplotlib/blob/b5ac96a8980fdb9e59c9fb649e0714d776e26701/lib/matplotlib/cbook/__init__.py |
109 | | -@modify_exceptions |
110 | 108 | def _boxplot_stats(conn, table, column, whis=1.5, autorange=False, with_=None): |
111 | 109 | """Compute statistics required to create a boxplot""" |
112 | 110 | if not conn: |
@@ -549,7 +547,6 @@ def histogram( |
549 | 547 | return ax |
550 | 548 |
|
551 | 549 |
|
552 | | -@modify_exceptions |
553 | 550 | def _histogram( |
554 | 551 | table, column, bins, with_=None, conn=None, facet=None, breaks=None, binwidth=None |
555 | 552 | ): |
@@ -688,7 +685,6 @@ def _histogram( |
688 | 685 | return bin_, height, bin_size |
689 | 686 |
|
690 | 687 |
|
691 | | -@modify_exceptions |
692 | 688 | def _histogram_stacked( |
693 | 689 | table, |
694 | 690 | column, |
@@ -765,7 +761,6 @@ def _histogram_stacked( |
765 | 761 | return data |
766 | 762 |
|
767 | 763 |
|
768 | | -@modify_exceptions |
769 | 764 | def _filter_aggregate(*filter_queries): |
770 | 765 | """Return a single filter query based on multiple queries. |
771 | 766 |
|
@@ -797,7 +792,6 @@ def _filter_aggregate(*filter_queries): |
797 | 792 | return final_filter |
798 | 793 |
|
799 | 794 |
|
800 | | -@modify_exceptions |
801 | 795 | def _bar(table, column, with_=None, conn=None): |
802 | 796 | """get x and height for bar plot""" |
803 | 797 | if not conn: |
@@ -985,7 +979,6 @@ def bar( |
985 | 979 | return ax |
986 | 980 |
|
987 | 981 |
|
988 | | -@modify_exceptions |
989 | 982 | def _pie(table, column, with_=None, conn=None): |
990 | 983 | """get x and height for pie chart""" |
991 | 984 | if not conn: |
|
0 commit comments