• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

dsten / datascience / 348
75%
master: 74%

Build:
Build:
LAST BUILD BRANCH: readthedocs
DEFAULT BRANCH: master
Ran 28 Oct 2015 01:09AM UTC
Jobs 1
Files 5
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
348

push

travis-ci

SamLau95
Fix bug in xticks for Table.plot()

Before, calling

    Table([np.arange(0, 10, .1), np.arange(0, 1, .01)], ['x', 'y']).plot('x')

Would show xticks of 0, 0.1, 0.2, etc. instead of 0, 2, 4, ...
This was beacuse we assumed that the horizontal axis values as passed in
the `ticks` variable were integers. Instead, we should just ask the axis
for the ticks it used to plot the data.

To test:

```python

a = Table([np.arange(0, 10, .1), np.arange(0, 1, .01)], ['x', 'y'])
a.plot('x')

b = Table([np.arange(0, 20, .1), np.arange(0, 2, .01)], ['x', 'y'])
b.plot('x')

792 of 1054 relevant lines covered (75.14%)

0.75 hits per line

Jobs
ID Job ID Ran Files Coverage
1 348.1 28 Oct 2015 01:09AM UTC 0
75.14
Travis Job 348.1
Source Files on build 348
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #348
  • 01ea826b on github
  • Prev Build on fix-plot-ticks (#347)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc