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).

T.


On Thu, 13 Jun 2019 at 13:06, Roaa Soloh <roaaso...@gmail.com> 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=kwds.get("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
> igraph-help@nongnu.org
> https://lists.nongnu.org/mailman/listinfo/igraph-help
>
_______________________________________________
igraph-help mailing list
igraph-help@nongnu.org
https://lists.nongnu.org/mailman/listinfo/igraph-help

Reply via email to