Opened 10 years ago

Last modified 2 weeks ago

#10551 new defect

axes_pad=0 leaves some spacing

Reported by: eviatarbach Owned by: jason, was
Priority: major Milestone:
Component: graphics Keywords:
Cc: Merged in:
Authors: Eviatar Bach Reviewers:
Report Upstream: N/A Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description

There is a bug with axes_pad. Even when set to 0, there are a few pixels on the right of the figure that are padded. Attached is an image to show this behaviour.

Attachments (1)

axespadbug.png (2.2 KB) - added by eviatarbach 10 years ago.
Although axes_pad is set to 0, some padding can be seen on the right.

Download all attachments as: .zip

Change History (5)

Changed 10 years ago by eviatarbach

Although axes_pad is set to 0, some padding can be seen on the right.

comment:1 Changed 10 years ago by eviatarbach

  • Component changed from PLEASE CHANGE to graphics
  • Owner changed from tbd to jason, was

comment:2 follow-up: Changed 10 years ago by gbe

What was the command used to create that graphic?

comment:3 in reply to: ↑ 2 Changed 10 years ago by eviatarbach

Replying to gbe:

What was the command used to create that graphic?

matrix_plot([[2,1,0]], axes_pad=0)

This also happens with this:

matrix_plot([[2,1,0],[2,1,0]], axes_pad=0)
Last edited 2 weeks ago by slelievre (previous) (diff)

comment:4 Changed 5 years ago by eviatarbach

This appears to be fixed now. It can be closed after adding doctests.

Note: See TracTickets for help on using tickets.