How to remove legend from Pandas Parallel Coordinates and resize the canvas/image?

860 Views Asked by At

I have the classical example in Pandas below, and I want to remove the legend from the image and resize it in 1024 x 300 for instance, how can I do that?

Thank you very much for your help.

import matplotlib.pyplot as plt

import pandas as pd
from pandas.plotting import parallel_coordinates

data = pandas.read_csv('iris.csv', sep=',')

pc=pd.plotting.parallel_coordinates(
    data,'species',
    color=('#556270','#4ECDC4','#C7F464'))

enter image description here

0

There are 0 best solutions below