Skip to content

Manually specify title and abc coordinate positions #288

@scottstanie

Description

@scottstanie

Description

Hi, is it possible to make the abc labels slightly offset to the left from the axis? This would probably be a negative position.

image

I was hoping to have the (b) moved slightly left so that I can center the title without the two texts crashing into each other.

I tried the following after having all of my "imshow" and other formatting code run:

ax = axes[2]
aobj = ax._title_dict['abc']
print(aobj.get_position()) # prints (0, 1.0)

# no effect
aobj.set_x(-.25)

# no effect
abc = ax.get_children()[1]
abc.set_position((-.25, 1.0))

I couldn't figure out what was running to overwrite these positions, but I assume it's something internal to proplot to make the layout nice and orderly.

Proplot version

>>> import matplotlib; print(matplotlib.__version__); import proplot; print(proplot.version)
3.3.0
0.9.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions