Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add rcParams to enable/disable minor ticks on axes separately issue #3024 #4220

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

Merged
merged 1 commit into from
Mar 16, 2015

Conversation

crazym
Copy link
Contributor

@crazym crazym commented Mar 14, 2015

Hi,

I added two rcParams "xtick.minor.visible" and "ytick.minor.visible" to enable/disable minor ticks for x/y axis respectively, as mentioned in the issue #3024. Hope it helps :)

Thanks
Minty

@crazym crazym force-pushed the master branch 3 times, most recently from 0973a4e to d48a36b Compare March 14, 2015 17:22
@tacaswell
Copy link
Member

I don't think we need svg or pdf tests on this one, the png should be enough.

@tacaswell tacaswell added this to the next point release milestone Mar 14, 2015
@tacaswell
Copy link
Member

@crazym
Copy link
Contributor Author

crazym commented Mar 15, 2015

Updated, let me know if there are any other problems :)

@@ -1,3 +1,9 @@
Added ``xtick.minor.visible`` and ``ytick.minor.visible`` key to rcParams
`````````````
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The tick line should match the length of the title line

could use `rcParams['xtick.minor.visible'] = True` to enable automatic minor ticks on x axis;
update tests_axes;
update documentation on whats_new/rcParams.
Refer to issue @3024 for details.
@crazym
Copy link
Contributor Author

crazym commented Mar 16, 2015

Updated, thanks for the suggestion!

@tacaswell
Copy link
Member

Great! I will merge this once we hear back from travis.

tacaswell added a commit that referenced this pull request Mar 16, 2015
ENH : Add rcParams to enable/disable minor ticks on axes separately

Closes #3024
@tacaswell tacaswell merged commit a2fd30d into matplotlib:master Mar 16, 2015
@radlinsky
Copy link

Thanks crazym for adding those rcParams!

Is it possible to update this help documentation?
http://matplotlib.org/users/customizing.html

There are many rcParams that aren't described in the help docs including the two described in this thread ...

(sorry if it this is an inappropriate place to post this)

@tacaswell
Copy link
Member

@crazym PRs to the docs are always welcome!

@tacaswell
Copy link
Member

@crazym, sorry, I meant to ping @radlinsky in my last message

@radlinsky
Copy link

@tacaswell sorry for the newbie question, but what does PR mean, and if you're saying I can contribute to the help docs, how would I go about doing do? Thanks!

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