-
Notifications
You must be signed in to change notification settings - Fork 337
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Raise a warning instead a error when requesting a PS file in modern mode #94
Comments
OK, I can relax the level to warning (requiring -V). We were concerned that this message would not be seen and some user may complain that they got the wrong size. We could add some more wording to the documentation for modern mode to prevent confusion. Would this be OK? |
Didn't realize that warnings wouldn't be seen if -V is not used. Adding more wording to clarify this possible confusion is necessary. |
In modern mode, plots are automatically cropped but this is not true if plain PostScript (ps) is requested, in which case a media size is recommended. This PR adds explanation of this to begin and changes the verbosity level of the error to warning (thus requiring -V to be seen). Addresses #94.
In modern mode, plots are automatically cropped but this is not true if plain PostScript (ps) is requested, in which case a media size is recommended. This PR adds explanation of this to begin and changes the verbosity level of the error to warning (thus requiring -V to be seen). Addresses #94.
Closed by #251 |
…#100) Get the underlying numpy array from the pandas.Series. Group the conversion with C contiguous order check in gmt.clib.utils.vectors_to_arrays function. Fixes GenericMappingTools#94
Full script that generated the error
Full error message
The script can generate the desired plot correctly. So I think it would be better to raise warnings instead of errors and tell users to change
PS_MEDIA
if A4 paper size isn't adequate for their plot.The text was updated successfully, but these errors were encountered: