X Tutup
Skip to content

Hexbin with log scale takes extent range as logarithm of the data along the log axis #6479

@kgabor

Description

@kgabor
X=np.arange(1.,100.,0.1)
Y=1.1**X

plt.figure()
plt.hexbin(X,Y,yscale='log',mincnt=1,extent=[1,50,10,100])
# 
plt.figure()
plt.hexbin(X,Y,yscale='log',mincnt=1,extent=[1,50,1,2])

The first plot shows an y range from 1010 .. 10100 with an empty plot. The second one shows the
range in 10..100 along the y axis. Is this the intended behavior of the extent keyword arg?

Matplotlib version 1.5.1 , Python version 3.4.4, Platform Ubuntu 14.04 LTS

Metadata

Metadata

Assignees

No one assigned

    Labels

    Difficulty: Easyhttps://matplotlib.org/devdocs/devel/contribute.html#good-first-issuesDocumentation

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      X Tutup