-
Notifications
You must be signed in to change notification settings - Fork 229
Closed
Description
Dear Developers & Users,
When plotting data with labels to later building up a legend, the "labels" cannot have spaces. For example, this code:
F = pygmt.Figure()
F.plot(0,0,B=["x1","y1"],J="X10",S="c0.2",R=[-1,1,-1,1], l = "Super Point")
F.legend(None)
F.show()
Fails with the following error code:
....
498 raise GMTCLibError(
499 "Module '{}' failed with status code {}:\n{}".format(
--> 500 module, status, self._error_message
501 )
502 )
GMTCLibError: Module 'plot' failed with status code 71:
plot [ERROR]: Error for input file: No such file (Point')
When a label is a string without spaces, everything works as expected. This was last tested on version #af26f4.
Kind regards,
Mb.
Metadata
Metadata
Assignees
Labels
No labels