Skip to content

Commit

Permalink
refactor: replace call of deprecated method
Browse files Browse the repository at this point in the history
  • Loading branch information
lars-reimann committed Nov 16, 2023
1 parent 8f2c1b3 commit c961a13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/safeds/data/tabular/containers/_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -2075,7 +2075,7 @@ def plot_histograms(self) -> Image:
"""
col_wrap = min(self.number_of_columns, 3)

data = pd.melt(self._data.applymap(lambda value: str(value)), value_vars=self.column_names)
data = pd.melt(self._data.map(lambda value: str(value)), value_vars=self.column_names)
grid = sns.FacetGrid(data=data, col="variable", col_wrap=col_wrap, sharex=False, sharey=False)
grid.map(sns.histplot, "value")
grid.set_xlabels("")
Expand Down

0 comments on commit c961a13

Please sign in to comment.