The gcf method is depricated in V 0.14, The below code works for me:
plot = dtf.plot()
fig = plot.get_figure()
fig.savefig("output.png")
More Related Contents:
- Clustered Stacked Bar in Python Pandas [closed]
- Pandas: Adding new column to dataframe which is a copy of the index column
- How to have clusters of stacked bars with python (Pandas)
- Color by Column Values in Matplotlib
- Plotting grouped data in same plot using Pandas
- How to add hovering annotations to a plot
- How to add multiple annotations to a barplot
- How to draw vertical lines on a given plot
- How to save the Pandas dataframe/series data as a figure?
- How to dynamically update a plot in a loop in IPython notebook (within one cell)
- matplotlib: plot multiple columns of pandas data frame on the bar chart
- pandas 0.21.0 Timestamp compatibility issue with matplotlib
- Legend only shows one label when plotting with pandas
- How to remove or hide x-axis labels from a seaborn / matplotlib plot
- Plotting time-series data with seaborn
- Line plot with data points in pandas
- Saving Matplotlib graphs to image as full screen
- Large Dataset Polynomial Fitting Using Numpy
- How to create a grouped bar plot
- Is it possible to add a string as a legend item in matplotlib
- Grouped Bar graph Pandas
- Using pandas crosstab to create a bar plot
- Change the facecolor of boxplot in pandas
- How to annotate a seaborn barplot with the aggregated value
- How to annotate grouped bar plot with percent by hue/legend group
- Discrete legend in seaborn heatmap plot
- seaborn heatmap using pandas dataframe
- Sorted bar charts with pandas/matplotlib or seaborn
- Color a scatter plot by Column Values
- Is it possible to add a string as a legend item