X Tutup
Skip to content

support for updating axis ticks for categorical data#6889

Merged
tacaswell merged 1 commit intomatplotlib:masterfrom
story645:category
Aug 25, 2016
Merged

support for updating axis ticks for categorical data#6889
tacaswell merged 1 commit intomatplotlib:masterfrom
story645:category

Conversation

@story645
Copy link
Copy Markdown
Member

@story645 story645 commented Aug 3, 2016

Now supports updating axis:

fig, ax = plt.subplots()
ax.plot(['a', 'c', 'e'], label="plot 1")
ax.plot(['a', 'b', 'd'], label="plot 2")
ax.plot(['b', 'e', 'd'], label="plot3")
ax.legend()

unknown

Which as a sidenote, it didn't work before because apparently FixedLocator converts to an array as soon as it's passed in (and also apparently it doesn't need to...)

UnitData was also changed into an object to facilitate the updating and as a precursor to adding more functionality. And the tests should now be py.test compliant @Kojoley

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

X Tutup