[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] Saving .tif graph

From: Tamas Nepusz
Subject: Re: [igraph] Saving .tif graph
Date: Thu, 13 Jun 2019 13:27:56 +0200

As the error message says, saving into TIF is not supported. Save the plot into PNG and then convert the output into TIF. (PNG files are significantly smaller than TIFs anyway).


On Thu, 13 Jun 2019 at 13:06, Roaa Soloh <address@hidden> wrote:
Kindly I'm getting this error when trying to save the output graph into .tif format
Traceback (most recent call last):
  File "/home/roaa/PycharmProjects/PhD/Coding.py", line 26, in <module>
    plot(g, "/home/roaa/Desktop/PhD/Output/dinosaur.tif")
  File "/home/roaa/anaconda3/envs/PhD/lib/python3.7/site-packages/igraph/drawing/__init__.py", line 449, in plot
    result = Plot(target, bbox, background="" "white"))
  File "/home/roaa/anaconda3/envs/PhD/lib/python3.7/site-packages/igraph/drawing/__init__.py", line 160, in __init__
    raise ValueError("image format not handled by Cairo: %s" % ext)
ValueError: image format not handled by Cairo: .tif```

Best Regards,
igraph-help mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]