Skip to content

Commit

Permalink
Remove unneeded wraper method in PlotnineAnimation
Browse files Browse the repository at this point in the history
  • Loading branch information
has2k1 committed Aug 1, 2024
1 parent 46b1338 commit 4159f95
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions plotnine/animation.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
import typing
from copy import deepcopy

import pandas as pd
from matplotlib.animation import ArtistAnimation

from .exceptions import PlotnineError
Expand Down Expand Up @@ -71,12 +70,6 @@ def __init__(

def _draw_plots(
self, plots: Iterable[ggplot]
) -> tuple[Figure, list[list[Artist]]]:
with pd.option_context("mode.chained_assignment", None):
return self.__draw_plots(plots)

def __draw_plots(
self, plots: Iterable[ggplot]
) -> tuple[Figure, list[list[Artist]]]:
"""
Plot and return the figure and artists
Expand Down

0 comments on commit 4159f95

Please sign in to comment.