Interactive Applications Using Matplotlib 1st Edition Root - Download the ebook now for instant access to all chapters
Interactive Applications Using Matplotlib 1st Edition Root - Download the ebook now for instant access to all chapters
com
https://ebookname.com/product/interactive-applications-
using-matplotlib-1st-edition-root/
OR CLICK HERE
DOWLOAD EBOOK
https://ebookname.com/product/root-to-stalk-cooking-the-art-of-
using-the-whole-vegetable-1st-edition-tara-duggan/
https://ebookname.com/product/interactive-computer-graphics-a-
top-down-approach-using-opengl-5th-ed-international-ed-edition-
angel/
https://ebookname.com/product/essential-mathematics-for-games-
and-interactive-applications-3rd-edition-james-m-van-verth-2/
Accounting Horngren
https://ebookname.com/product/accounting-horngren/
The Russian Revolution 1900 1927 rev expanded 4th ed
2009 Robert Service
https://ebookname.com/product/the-russian-
revolution-1900-1927-rev-expanded-4th-ed-2009-robert-service/
https://ebookname.com/product/applied-criminal-psychology-a-
guide-to-forensic-behavioral-sciences-1st-edition-richard-n-
kocsis-editor/
https://ebookname.com/product/cyberlaw-problems-of-policy-and-
jurisprudence-in-the-information-age-american-casebook-
series-5th-edition-bellia/
https://ebookname.com/product/medicinal-plants-of-north-america-
a-field-guide-2nd-edition-edition-meuninck/
https://ebookname.com/product/toxicology-of-reptiles-1st-edition-
susan-c-m-gardner/
Amyloid Proteins Methods and Protocols 2nd ed. 2012
Edition Einar M. Sigurdsson
https://ebookname.com/product/amyloid-proteins-methods-and-
protocols-2nd-ed-2012-edition-einar-m-sigurdsson/
[1]
Interactive Applications Using
Matplotlib
Benjamin V. Root
BIRMINGHAM - MUMBAI
Interactive Applications Using Matplotlib
All rights reserved. No part of this book may be reproduced, stored in a retrieval
system, or transmitted in any form or by any means, without the prior written
permission of the publisher, except in the case of brief quotations embedded in
critical articles or reviews.
Every effort has been made in the preparation of this book to ensure the accuracy
of the information presented. However, the information contained in this book is
sold without warranty, either express or implied. Neither the author, nor Packt
Publishing, and its dealers and distributors will be held liable for any damages
caused or alleged to be caused directly or indirectly by this book.
Packt Publishing has endeavored to provide trademark information about all of the
companies and products mentioned in this book by the appropriate use of capitals.
However, Packt Publishing cannot guarantee the accuracy of this information.
ISBN 978-1-78398-884-6
www.packtpub.com
Credits
Reviewers Proofreaders
Kamran Husain Maria Gould
Nathan Jarus Lesley Harrison
Jens Hedegaard Nielsen Bernadette Watkins
Sergi Pons Freixes
Indexer
Acquisition Editors Monica Ajmera Mehta
Richard Gall
Owen Roberts Production Coordinator
Conidon Miranda
Content Development Editor
Shubhangi Dhamgaye
Cover Work
Conidon Miranda
Technical Editors
Tanvi Bhatt
Nanda Padmanabhan
Copy Editors
Roshni Banerjee
Gladson Monteiro
About the Author
This book would not have been possible without the love and
support of my wife, Margaret. She put up with far more than she
should have, and for that, I am in her debt.
Last, but not least, I must acknowledge John Hunter, the creator
of Matplotlib and the man who included me into the development
team. Working with him and the rest of the team allowed me to
mature as a programmer and scientist, and directly resulted in me
attaining my current employment, thus starting my career.
About the Reviewers
Did you know that Packt offers eBook versions of every book published, with PDF
and ePub files available? You can upgrade to the eBook version at www.PacktPub.com
and as a print book customer, you are entitled to a discount on the eBook copy. Get in
touch with us at service@packtpub.com for more details.
https://www2.packtpub.com/books/subscription/packtlib
Do you need instant solutions to your IT questions? PacktLib is Packt's online digital
book library. Here, you can search, access, and read Packt's entire library of books.
Why subscribe?
• Fully searchable across every book published by Packt
• Copy and paste, print, and bookmark content
• On demand and accessible via a web browser
[i]
Table of Contents
Data editing 41
User events 48
Editor events 49
Summary 54
Chapter 3: Animations 55
A short history 55
The fastest draw in the west 56
The animation module 57
Advanced animations 60
Event source 64
Timers 66
Blitting 68
Recipes 69
Tails 69
Fades 72
Saving animations 74
Notes about codecs and file formats 75
Simultaneous animations 77
How animations are saved 78
Session recorder 79
Summary 83
Chapter 4: Widgets 85
Built-in widgets 85
Slider 86
Button 89
Check buttons 92
Radio button 95
Lasso 99
LassoSelector 103
RectangleSelector 104
SpanSelector 108
Cursor 110
format_coord() 110
Third-party tools 113
mpldatacursor 114
Glue 114
Plot.ly, ggplot, prettyplotlib, and Seaborn 114
Summary 115
[ ii ]
Table of Contents
[ iii ]
Preface
Why Matplotlib? Why Python, for that matter? I picked up Python for scientific
development because I needed a full-fledged programming language that made
sense. Too often, I felt hemmed in by the traditional tools in the meteorology field.
I needed a language that respected my time as a developer and didn't fight me
every step of the way. "Don't you find Python constricting?" asked a colleague who
was fond of bad puns. "No, quite the opposite," I replied, the joke going right over
my head.
Matplotlib is the same in this respect. Switching from traditional graphing tools of
the meteorology field to Matplotlib was a breath of fresh air. Not only were useful
programs being written using the Matplotlib library, but it was also easy to write
my own. Furthermore, I could write out modules and easily use them in both
the hardcopy generating scripts for my publications and for my data exploration
interactive applications. Most importantly, the Matplotlib library let me do what
I needed it to do.
I have been an active developer for Matplotlib since 2010 and I am still discovering
Matplotlib. It isn't that the library is insanely huge and unwieldy—it isn't. Instead,
Matplotlib appeals to all levels of expertise and interests. One can simply care
enough only to get a single plot displayed in three line of code and never think of the
library again. Or, one could assume control over every single minute plotting detail,
ensuring that everything is displayed "just right." And even when one does this and
thinks they have seen every single nook and cranny of the library, they will discover
some other feature that they have never seen before.
[v]
Preface
Matplotlib is 12 years old now. New plotting projects have cropped up—some
supplementing Matplotlib's design, while others trying to replace Matplotlib
entirely. However, there has been no slacking of interest in Matplotlib, not from the
users and definitely not from the developers. The new projects are interesting, and
as with all things open source, we try to learn from these projects. But I keep coming
back to this project. Its design, developers, and community of users are some of the
best and most devoted in the open source world.
The book you are reading right now is actually not the book I originally wanted to
write. The interactive aspect of Matplotlib is not my area of expertise. After some
nudging from fellow developers and users, I relented. I proceeded to rewrite the
only interactive application I had ever finished and published. Working through the
chapters, I tried to find better ways of doing the things I did originally, pointing out
major pitfalls and easy mistakes as I encountered them. It was a significant learning
experience for me, which was wholly unexpected.
I now invite you to discover Matplotlib for yourself. Whether it is the first time or
not, it certainly won't be the last.
Chapter 2, Using Events and Callbacks, provides Matplotlib's events and a callback
system to bring your figures to life. It also explains how you can extend it with
custom events, making the application truly interactive.
Chapter 5, Embedding Matplotlib, teaches you how to add GUI elements to an existing
Matplotlib application. Here you'll also see how to add your interactive Matplotlib
figure to an existing GUI application. Identical examples are presented using GTK,
Tkinter, wxWidgets, and Qt.
[ vi ]
Another Random Document on
Scribd Without Any Related Topics
BEAUTIFUL APPLES.
After dinner mother washes the dishes and makes all the
arrangements she can for an early breakfast. She thinks I am another
“Harriet Beecher Stowe,” so she is perfectly willing to do the work in
the evening and let me write. Oh, the unselfishness of mothers. I do
my share, of course, mornings, and at noon, but evenings I only make
the beds in both wagons.
We have white sheets and pillow-cases, with a pair of blankets, and
light comforts on both beds, just the same as at home, and they do not
soil any more or any quicker, as we have them carefully protected from
dust.
I had been writing a little while after dinner, when Frank stepped up
with a basket of beautiful red-cheeked apples in his hand, not a wilted
one among them.
“Where shall I put them?”
“Oh, Frank, how lovely they are. Where did you get them? Thank
you so much; they are not all for me?”—as he emptied the last one into
the pan. “Are all the others supplied? This seems more than my share.”
“Yes; they are for you, we bought the farmer’s entire stock; the
others are supplied, or will be without you giving them yours.”
He had just gone, when Sim Buford came and threw half a dozen
especially beautiful ones into my lap.
“Thank you, Sim, but I am bountifully supplied, don’t you see?”
“So you are, but keep mine, too; I can guess who it was that
forestalled me.” Laughing as he walked off.
So we are feasting on luscious apples this evening, thanks to the
generosity of our young gentlemen.
* * * * *
Friday, May 5.
We came through Unionville and Moravia to-day. Have traveled
farther and later than any day yet. It was almost dark when we
stopped, and raining, too; to make a bad matter worse, we are
camping in a disagreeable muddy place, and have to use lanterns to
cook by.
We were obliged to come so far to get a lot large enough to hold the
stock. We will be glad to sleep in the house to-night.
Mrs. Kerfoot is homesick, blue and despondent this evening; she has
always had such an easy life that anything disagreeable discourages
her. Perhaps when the sun shines again she will feel all right.
* * * * *
Saturday, May 6.
This morning dawned clear and bright; all nature seemed refreshed
by yesterday’s rain, and we started joyfully on our journey once more.
We came through Iconium early in the day, are camping in Lucas
County, near a beautiful farmhouse. We expect to stay here until
Monday, as we do not intend to travel on Sundays.
It is a beautiful moonlight night, some one proposes a walk. As Cash
is giving Winthrop his first lessons in flirtation, they, of course, go
together; Sim and Neelie, Miss Milburn and Ezra are the next to start,
and Frank is waiting to go with me. Hill stays in camp, in conversation
with Mr. Kerfoot and Mr. Milburn.
He is more like an old man than the boy that he is, not twenty yet.
After we had gone a short distance, Miss Milburn asked to be excused,
and returned to camp; Ezra, of course, going with her.
We walked on for a mile or more, enjoying the beautiful moonlight,
and having lots of fun, as happy young people will have. When we
returned and I had said good-night to the others, I climbed into the
wagon to finish my writing for the day by the light of the lantern.
The front of Mr. Milburn’s wagon almost touches the back of ours,
forming an angle. I had been writing a few moments when I heard
sobbing. I was out in a jiffy, and had gone to the front of their wagon
without stopping to think whether I was intruding. “May I come in?” I
asked, as I stepped upon the wagon-tongue.
“Oh, yes, come in, Miss Sallie, but I am ashamed to let you see me
crying, somehow I could not help it. I felt so lonely and homesick.”
“I am sorry you feel lonely and homesick. Did any of us say, or do
anything this evening that could have hurt you?”
“Oh, no; not at all, only I always feel that I am one too many, when
I am with you all; you seem so light-hearted and happy, so free from
care, so full of life and fun, that I feel that I am a damper to your
joyousness, for I cannot get over feeling homesick and sad, especially
when night comes.”
“How sweetly Ernest sleeps, and how much he seems to enjoy this
manner of life.”
“Yes; he is a great comfort to me, as well as a great care. He is
dearer to me than to any one else in the world; his father seems to be
weaned from him, since they have been separated so long. He has not
seen him more than half a dozen times since his mother died. I feel
that he is altogether mine. May God help me to train him for Heaven.
He will never know what I have sacrificed for him. I have a mind to tell
you, if you care to hear, why I am here, and why I am not happy.”
“It may perhaps relieve you, and lighten the burden, to share it.”
And then she told me what I will record to-morrow, for it is almost
midnight, and mother has been asleep for two hours, and I must hie
me to bed.
* * * * *
Sunday, May 7.
“Remember the Sabbath Day to keep it holy.” Have we obeyed this
command to-day? I fear not. We are all, or very nearly all, professing
Christians, yet we have had no public worship in our camp to-day, but
we have all, to some extent, desecrated the day by work.
Deeds of mercy and necessity may be done on the Sabbath Day
without sin, and mother says, “It is very necessary that our soiled
clothes, sheets and pillow-cases should be washed, and that cleanliness
is next to godliness.”
The question comes to me, Why is it that Christians are so loath to
talk of the things that pertain to their spiritual life, and eternal welfare?
Why so backward about introducing a service of worship, when so well
aware it would meet with the approval of all?
I felt that Mr. Kerfoot was the one to suggest a service of prayer and
praise, and reading the Scriptures. Perhaps he thought some of the
ladies would mention it, so all were silent, and it is numbered with the
lost opportunities for doing something for our Lord and Master. May he
pardon our sins of omission, and may we be permitted to atone for the
manner in which we spent our first Sabbath on this trip.
We have not traveled, so our teams have rested and done no labor,
if we have violated the commandment ourselves.
The weather is perfect; this is another beautiful moonlight night.
The young ladies and gentlemen have gone for another walk in the
same order as last night, except Frank went with Miss Milburn, and
Ezra is waiting for me.
* * * * *
Tuesday, May 9.
A beautiful day for horseback riding, until late this afternoon, when
it commenced blowing a perfect gale, too severe to travel, so we drove
into camp early. We came through Ottawa and Osceola, are camping in
Clark County.
* * * * *
* * * * *
A FATAL ACCIDENT.
Monday, May 15.
Alas, alas! How can I write the disastrous happenings of this day?
My hand trembles and my pencil refuses to write intelligibly when I
attempt to record the sad, oh, so sad, accident that has befallen us. We
parted from our visitors this morning, and started on our way, feeling
rested and glad to be journeying on again. How little we knew of what
a day would bring forth. We stopped for lunch at noon in a little vale,
or depression, on the prairie, but where there was no water. Just as we
had finished our lunch, Neelie came, she said, to see if we could make
an exchange for the afternoon, her mother riding with mine, and I with
the young folks in the family wagon. Of course it was soon arranged,
and I told her I would come as soon as I helped mother put things
away. (We sometimes visit in this way.) Mrs. Kerfoot soon came around,
and when everything was ready I started to go to their wagon. It was
the last one in the train. As I was passing Mr. Milburn’s wagon he called
to me to “Come and get a drink of water.” He had taken a long walk,
and found clear, pure water, not very cold, but much better than none
at all. I gratefully accepted a cup. He and his sister then invited me to
ride with them. I told them of my engagement with Neelie, and, of
course, they excused me. Oh, that I had accepted their invitation; just
such a little thing as that might have prevented this dreadful accident.
Such great events turn on such little hinges sometimes. About three
o’clock in the afternoon, as we were plodding along after the fashion of
emigrant teams, we young people in the last wagon, having a jolly
sociable time, with song and laughter, fun and merriment, the front
wagons stopped. Ezra, who was driving, turned out of the road and
passed some of the wagons to see what the trouble was. Mr. Kerfoot
came running toward us, calling to Neelie, “Get the camphor, daughter,
Mr. Milburn has shot himself somehow, and has fainted.”
Ezra got out to go with him and Neelie asked, “Shall we come, too,
papa?”
“No, my daughter, you girls would better stay here, your ma and
Mrs. Raymond are with Gus, and they will know what to do.”
Before he had finished what he was saying they were running to the
place of the accident. We could only wait, hoping and praying, oh, so
earnestly, that it might not prove so serious as Mr. Kerfoot’s manner
and tone caused us to fear. Afterward, Winthrop came to us; he was
pale, with compressed lips, and sad eyes; he came up close, leaned
upon the wagon wheel, and said in a low tone, “He is dead.” Oh, how
dreadful. We all left the wagon and went to the front as fast as we
could.
I have gathered from witnesses the following account of how it
happened. There was a flock of prairie chickens ahead of the wagons
to the left of the road. Mr. Milburn and several of the boys took their
guns and were going to try to thin their number. The wagons had not
halted, but were moving slowly on, the hunters had gone on a little in
advance of the wagons, they tried to fire all together, one of the boys
snapped two caps on his gun, it failed to go off, so he threw the gun
into the front wagon, and took his whip, in disgust. The wagon had
moved on to where Mr. Milburn was standing with his gun raised; there
was a shot, Mr. Milburn dropped to his knees, turned and looked at his
sister, saying, “Gus, I am shot.” And fell forward on his face. She was in
the next wagon.
BEREAVEMENT.
Gus screamed, jumped from the wagon, ran to her brother, and
raised his head in her arms. All who were near enough to hear her
scream ran to them and she said, “John has hurt himself with his gun
and has fainted, bring restoratives quick.”
In a few seconds, there were half a dozen bottles, with brandy,
camphor, ammonia there, and every effort was made to restore him,
but all in vain. He died instantly and without a struggle.
When Mr. Kerfoot knew he was dead, he looked for the wound and
found a bullet-hole between his shoulders. Just then one of the boys
picked up his gun where he had dropped it and exclaimed, “It was not
this gun that did the mischief, for it is cold, and the load is in it.”
On looking around to find where the deadly shot had come from,
some one took hold of the gun in the front wagon. “Why, this gun is
warm. It must have been this gun went off.”
“Oh, no; it could not have been that gun, for there was no cap on
it,” said the boy who had thrown the gun there.
Circumstances proved that it was the gun without a cap that did the
fatal shooting. I would have supposed, as the boy did, that it was
perfectly harmless without a cap. I have heard it said, “It is the
unloaded gun, or the one that is supposed to be unloaded, that
generally does the mischief.” No doubt the hammer was thrown back
when he threw it in the wagon. On investigating we found a rut in the
wheel-track just where he fell. It is possible that when the front wheel
dropped into the rut with a jolt the hammer fell, igniting the powder,
either by the combustible matter that stuck, or by the flash occasioned
by the metal striking together. Mr. Milburn was not opposite the wagon
when he raised his gun to shoot, but the wagons were moving slowly
and the front one came up with him as he was taking aim, and that
was why Gus thought it was his own gun. She saw the smoke rise, he
stumbled and fell to his knees, she called to him. “Why, John, what
made you fall?”
He looked around at her and said, “Oh, Gus, I am shot.” The last
words he spoke.
How hard to be reconciled to such a dispensation when such a little
thing could have prevented it, only one step in either direction, or the
gun pointed the other way. Why, oh, why, has this awful thing
happened?
The poor boy seems to be as heart-stricken as Gus. In her unselfish
grief she has been trying to comfort him.
I have read of a minister of the Gospel “who dreamed that he died;
after entering the gates of Heaven he was led into a large empty room,
on the walls of which his whole life was spread out as a panorama. He
saw all the events of his life, and many that had been hard to
understand in his lifetime were here made clear, and through it all the
guiding, protecting hand of God had been over him.” Perhaps Mr.
Milburn is saved from a worse fate.
We were about three miles from Frankfort when the accident
happened. We came on here as soon as possible—a sorrowing, and oh,
so sorrowful, procession now. It does not seem that we can ever be the
merry party that we have been. Winthrop had been riding Dick; he
stood there, ready, saddled and bridled when Mr. Milburn fell; Frank
mounted my pony and rode as fast as he could go to Frankfort to get a
doctor. Mr. Milburn was dead before he was out of sight. We met them
as we came. A room has been rented and Mr. Milburn prepared for his
last long sleep. The people of Frankfort are very kind, and sympathetic.
A FUNERAL.
Tuesday, May 16.
The boys sat up with the corpse last night. I stayed with Gus. We
had only just shut ourselves in when a terrific storm came upon us; the
wind blew, and the rain fell in torrents. Before eleven o’clock it had
passed; soon after Gus slept heavily. It seemed hours before I slept.
Very early this morning Gus awakened me praying. How surely do the
sorrows of this life drive us to the mercy-seat for comfort, refuge and
strength.
* * * * *
* * * * *
Thursday, May 18.
The friends that stayed with us Sunday night told us that the
authorities are not allowing emigrants to take the northern route,
because of the Indian depredations that have been committed on that
route. That if we went to Council Bluffs we would have to come down
the river to Platsmouth to get on the southern route. So we changed
our course accordingly.
We came through Whitecloud, Glenwood and Pacific City to-day. At
Whitecloud I made a few purchases, traded with a little German
merchant who crossed the plains a year ago; he says we have a
delightful trip before us. He expects to go again to the Rocky
Mountains, and make his home there, as soon as he can sell out and
settle up his business here.
Just before we came to Glenwood, as the girls passed on their
ponies, Gus said to me, “Sallie, go ride your pony, too; you have not
had a ride for several days. Pardon me if I have been selfish in my
great sorrow.”
“No, Gus, I would rather stay with you than to ride Dick, as long as
you need me.”
“Thank you, dear; your company has been very grateful to me, but
now I would really enjoy seeing you ride through Glenwood.”
To please her, and myself, too, I soon had saddled and mounted
Dick and overtaken the girls. As we were riding through Glenwood a
photographer sent a messenger to request us to “Please stop five
minutes and let him take our picture.” We rode to the position
indicated, doffed our sun-bonnets, and looked as pleasant as we could.
We did not wait to see the proof, and I expect he was disappointed.
Pacific City is on the Missouri bottom, or lowlands. Above the town
are the highest bluffs I have ever seen. We hitched our ponies and
climbed to the top. The view was magnificently grand, the sun sinking
in the west, the river could be seen in the distance, with large trees on
the banks, the lowland between the bluffs and the trees was dotted
with cattle and horses grazing, here and there a pond or small lake
with its waters shining and sparkling in the glimmering sunset, the city
below us in the shadow of the bluffs. Everything was so sweet and
peaceful, we were more than paid for our climb. The wagons had
passed before we came down, so we mounted and hastened to
overtake them before driving into camp.
* * * * *
* * * * *
* * * * *
Monday, May 22.
Mr. Kerfoot, Cash, Neelie, Ezra and I came with Gus to Platsmouth.
She said good-bye to mother, Mrs. Kerfoot and the others this morning.
All were sorry to part with her. She has become very dear to us all.
Gus’s freight was brought over in the wagon and sold at public auction
and brought good figures, thanks to Mr. Thatcher, who, when he saw
anything going below its real value, bid it in himself. He has a grocery
store. He and Mr. Kerfoot have attended to all business transactions for
Gus, so that she has not been bothered at all, and have done better for
her than they could have done for themselves.
We have had a quiet, pleasant day with Gus at Mrs. Thatcher’s
home. She is very kind, and has invited us girls to stay with Gus until
she takes the boat for home, and Gus begged us to stay with her as
long as possible; so Cash and I are staying all night, and will see her on
board the boat to-morrow morning. Neelie has returned to camp with
her father and Ezra.
Ernest is a great care and worries his auntie. He will not stay in the
house, and she cannot bear to have him out of her sight for fear
something will happen to him; she has just now undressed him, heard
his little prayer, and put him to bed in the next room. So I hope we can
have uninterrupted quiet for awhile.
* * * * *
A
This man is mentioned here because of what
happened to him before he reached his journey’s
end.
* * * * *
A YANKEE HOMESTEAD.
Friday, May 26.
We came fifteen miles, are camping on a high rolling prairie, not a
tree or shrub within sight; we are near a neat white farmhouse.
Everything seems to be very new, but does not have that “lick and a
promise” appearance that so many farmhouses in Nebraska have.
Things seem to be shipshape, the house completed and nicely painted,
a new picket-fence, and everything on the place—barns, hen-house,
etc., all seem well built, as if the owners are expecting to make a
permanent home. I would prefer a home not quite so isolated and far
away from anywhere. There do not seem to be any women about the
place, perhaps they are coming when everything is ready for their
comfort.
* * * * *
* * * * *
* * * * *
WE MEET A FRIEND.
Tuesday, May 30.
We girls were riding in advance of the wagons when we saw a long
freight train coming. We stopped to let our ponies graze until they
would pass. I glanced at the driver on the second wagon and
recognized an acquaintance. “Why, girls, that is Kid Short,” I exclaimed.
He looked at me so funny, and began to scramble down from his
high perch.
“Why, Miss Sallie, I could not believe my eyes at first. Where did you
drop from?” shaking hands with each of us.
“Didn’t drop from anywhere; have been thirty days getting here by
the slow pace of an ox-train. Sim Buford and some more boys that you
know are with the train you see coming.”
He soon said good-bye to us, spoke to a man on horseback, who
dismounted, gave him his horse and climbed to the seat Mr. Short had
vacated in the front of the freight wagon, drawn by eight mules, while
Kid hurried off to see the boys. He and Sim have been neighbors,
schoolmates, and intimate friends all their lives. Sim says Kid is
homesick and expects to go home as soon as he can after reaching
Omaha. He has been freighting from Omaha to Kearney, and has been
away from home since last Fall. We are camping near another station,
with the same trains we camped near last night not far off.
* * * * *
* * * * *
Thursday, June 1.
Our little village on wheels has stopped near a large two-story log-
house that was built in the early fifties for a wayside tavern; there are
fifteen rooms; there are frightful stories told of dark deeds having been
committed under that roof, of unwary travelers homeward bound from
California that never reached home, but whether true or not I cannot
say. The people of the other trains are having a dance in the large
dining-room of the old house.
* * * * *
Friday, June 2.
As Ezra and I were riding in front of the train we came to where a
man was sitting on the ground hugging his knees, two men were
standing near trying to talk to him, seemingly. As we rode up one of
them came toward us, saying, “That is an Indian, over there.” We rode
close to him, and Ezra said, “How;” but he did not even grunt. He was
very disappointing as the “Noble Red Man” we read about. He wore an
old ragged federal suit, cap and all. There were no feathers, beads nor
blankets. He was not black like a negro, more of a brown, and a
different shade from the mulatto. He was ugly as sin.
* * * * *
Sunday, June 4.
We are organized into a company of forty-five wagons, a captain and
orderly sergeant have been elected, and hereafter we will travel by
system. Mr. Hardinbrooke is our captain. He has gone on this trip
before; he is taking his wife and little girl with him to Montana. A Mr.
Davis is our orderly sergeant.
We are now coming into a country infested with Indians, so it is
required by Government officials that all emigrants must organize into
companies of from forty to sixty wagons, elect captains and try to camp
near each other for mutual protection. The grass for stock is unlimited.
About twenty of the wagons in our train are freight wagons, belonging
to the Walker Brothers, Joe and Milt. Joe has his wife with him. Milt is a
bachelor; their sister, Miss Lyde, and a younger brother, De, are with
them. They are going to Montana. We have been introduced to Mr. and
Mrs. Hardinbrooke, and to the Walkers and their ladies. They are
pleasant, intelligent people, and will add much to the pleasure of our
party, no doubt. Frank and I went horseback riding this afternoon to
the station to get some good water from the well. I cannot drink the
river water.
No public worship to-day, although there were so many of us here.
* * * * *
Monday, June 5.
We were awakened at an early hour this morning with a bugle call.
Three companies were organized yesterday; there were about twenty
wagons that were not asked to join either party, so they pulled up
stakes and left while Frank and I were away. The strange women were
of the party; they must be some miles ahead by this time, and I hope
they will stay ahead. When our long train of wagons are stretched out
upon the road, we make a formidable looking outfit for the Indians to
attack. As far as the eye can reach, before us and behind us, there are
wagons, wagons, wagons; some drawn by oxen, some by mules, and
some by horses. All fall into the slow, sure gait of the oxen. There are
whole freight trains drawn by oxen; there are more ox teams than all
others.
After our evening meal, a number of us started for a stroll along the
bank of the river. Before we reached the river, we were met by a
perfect cloud of mosquitoes that literally drove us back. I never came
so near being eaten up. There is a strong breeze blowing toward the
river, which keeps them from invading the camps, for which I am
thankful, otherwise there would be little rest or sleep for us to-night.
They are the first mosquitoes we have seen on the road.
* * * * *
Tuesday, June 6.
It is sweet to be awakened with music, if it is only a bugle. Our
bugle certainly makes sweet music. The road is becoming very dry and
dusty, which makes riding in the wagon rather disagreeable sometimes.
Mother and I take turns driving the horses and riding Dick. Rather the
most of the time I ride Dick. One of our boys goes out with the herders
at night, so one of them is generally sleepy, and sleeps during the day,
while the other drives the ox-team.
* * * * *
Thursday, June 8.
It rained all night, seemingly without cessation; the wind did not
blow, so there was no harm, but lots of good done. I am glad when the
rain comes in the night-time, instead of day-time. Where the beds
touched the covers they were quite wet this morning.
* * * * *
Friday, June 9.
We came through a little town—Valley City. There is a very pretty
attractive looking house near the road. Cash and I had come on ahead
of wagons. Our inclination to enter that pretty home was irresistible, so
we dismounted, took off our habits, hitched our ponies, and knocked at
the door. A very pleasant lady opened the door and gave us hearty
welcome. We told her frankly why we came. She laughed, and said, “I
have had callers before, with the same excuse, but you need not
apologize, I am glad my home is attractive to strangers.”
The gentleman of the house is postmaster, and has his office in the
room across the hall from the parlor. While we were there the coach
arrived, and the mail was brought in. He did not know we were there,
and called to his wife to “Come see this mail.” We went with her, and
oh, such a mess. They had emptied the mail-sack on some papers that
had been spread upon the floor, and such a lot of dilapidated letters
and papers I never saw before. I picked up a photograph of an elderly
lady, but we could not find the envelope from which it had escaped.
Perhaps some anxious son, away out in the mines, far from home
and friends and mother, will look in vain for mother’s pictured face, and
be so sadly disappointed. I am so sorry for the boy that will miss
getting his mother’s photograph. She looks like such a sweet, motherly
mother. A great many of the letters were past saving; if the owners had
been there they could not have deciphered either the address or the
written contents, for they were only a mass of pulp; the postmaster
said it was “Because they send such old leaky mail-bags on this route;
those post-office folk seem to think any old thing will do for the West,
when we ought to have the very best and strongest, because of the
long distances they must be carried.” All that could be, were carefully
handled and spread out to dry; still, they would reach their destination
in a very dilapidated condition.
We have made a long drive, are within four miles of Fort Kearney.
There are a great many wagons within sight besides our own long
train, whichever way we look we can see wagons. The road from
Kansas City comes into this road not far from Valley City, and there are
as many, or more, coming that way as the way we came. People
leaving war-stricken Missouri, no doubt. I have never seen a fort. I do
hope Kearney will come up to my expectations.
FORT KEARNEY.
Saturday, June 10.
I was disappointed in Fort Kearney, as I so often am in things I have
formed an idea about. There are very comfortable quarters for the
soldiers; they have set out trees, and made it quite a pretty place,
away out here in the wilderness, but there is no stockade, or place of
defense, with mounted cannon, as I had expected.
Sim and I rode horseback through the fort while the wagons kept
the road half a mile north of the fort. Only a few of us came by the way
of the fort. A soldier gave us a drink of water from a well by the
wayside. He seemed a perfect gentleman, but had such a sad
expression. We were told that these soldiers were in the Confederate
service, were taken prisoners, confined at Rock Island, and enlisted in
the Government service to come out here and fight Indians. They are
from Georgia and Alabama.
Two families have joined our train and come into corral on the
opposite side, just behind the Walkers: Mr. and Mrs. Kennedy—a newly-
married couple—and Mr. and Mrs. Bower, with a daughter fourteen and
a son five. We only came one and a half miles west of the fort near
Kearney City. I do not understand why we have made such a short
drive, for the boys say the feed is not good, it has been eaten off so
close.
* * * * *
A NARROW ESCAPE.
Tuesday, June 13.
Cash, Neelie and I created quite a sensation this morning. We
waited, after the train had started, to mount our ponies as we usually
do. Cash and I had mounted, but Neelie led her pony, and we went
down to the river to water them, Neelie found some beautiful wild
flowers, and she insisted upon gathering them. Of course we waited for
her. The train was winding round a bend in the road, and the last
wagons would soon be out of sight. We insisted that she must come.
“The train will be out of sight in five minutes, and we may be cut off by
savages in ambush.”
She did not scare worth a cent. She led her pony into a little hollow
to mount when we saw two men coming toward us as fast as they
could ride. Cash rode at an easy canter to meet them, while I waited
for Neelie, who was deliberately arranging her flowers so that she
would not crush them.
“Those men are coming after us, perhaps there are Indians around.”
She took her time, just the same.
When the captain saw that the train would soon be out of our sight,
he went to Mr. Morrison, who was on horseback, and said, “Ride quietly
back and warn those girls of their danger, there are Indians around.
They have been seen by the guard, on the island, and by the herders,
in the hollows of the bluffs this morning. They would not be safe one
minute after the train is out of sight.”
They had kept it quiet, as they did not wish to cause unnecessary
alarm, for they knew there was no danger, for the Indians knew they
were being watched, and besides we are too many for them. Mr.
Welcome to our website – the ideal destination for book lovers and
knowledge seekers. With a mission to inspire endlessly, we offer a
vast collection of books, ranging from classic literary works to
specialized publications, self-development books, and children's
literature. Each book is a new journey of discovery, expanding
knowledge and enriching the soul of the reade
Our website is not just a platform for buying books, but a bridge
connecting readers to the timeless values of culture and wisdom. With
an elegant, user-friendly interface and an intelligent search system,
we are committed to providing a quick and convenient shopping
experience. Additionally, our special promotions and home delivery
services ensure that you save time and fully enjoy the joy of reading.
ebookname.com